<s> from django . conf . urls . defaults import patterns , include , url <EOL> from armstrong . core . arm_wells . views import QuerySetBackedWellView <EOL> from armstrong . core . arm_sections . views import SimpleSectionView , SectionFeed <EOL> from armstrong . apps . articles . models import Article <EOL> from armstrong . apps . articles . views import ArticleFeed <EOL> from django . views . generic . list_detail import object_detail <EOL> from django . conf import settings <EOL> ADMIN_BASE = "<STR_LIT>" <EOL> from armstrong import hatband as admin <EOL> admin . autodiscover ( ) <EOL> from . utils import get_url_for_model <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' % ADMIN_BASE , include ( '<STR_LIT>' ) ) , <EOL> url ( r'<STR_LIT>' % ADMIN_BASE , include ( admin . site . urls ) ) , <EOL> url ( r'<STR_LIT>' , '<STR_LIT>' , <EOL> { '<STR_LIT>' : settings . MEDIA_ROOT } ) , <EOL> url ( r'<STR_LIT>' , <EOL> QuerySetBackedWellView . as_view ( well_title = "<STR_LIT>" , <EOL> allow_empty = True , template_name = "<STR_LIT>" , <EOL> queryset = Article . published . all ( ) ) , <EOL> name = "<STR_LIT>" ) , <EOL> url ( r'<STR_LIT>' , <EOL> SimpleSectionView . as_view ( template_name = '<STR_LIT>' ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> SectionFeed ( section_view = '<STR_LIT>' ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , object_detail , { <EOL> '<STR_LIT>' : Article . published . all ( ) . select_subclasses ( ) , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> '<STR_LIT>' : '<STR_LIT>' , <EOL> } , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> ArticleFeed ( title = '<STR_LIT>' , <EOL> link = '<STR_LIT:/>' , <EOL> queryset = Article . objects . all ( ) ) , <EOL> name = '<STR_LIT>' ) , <EOL> ) </s>
