<s> from django . conf . urls import patterns , url <EOL> from django . views . generic import ListView , DateDetailView <EOL> from demo . articles . models import Article <EOL> urlpatterns = patterns ( '<STR_LIT>' , <EOL> url ( r'<STR_LIT>' , <EOL> ListView . as_view ( queryset = Article . objects . published ( ) ) , <EOL> name = '<STR_LIT>' ) , <EOL> url ( r'<STR_LIT>' , <EOL> DateDetailView . as_view ( model = Article , date_field = "<STR_LIT>" , <EOL> month_format = "<STR_LIT>" ) , <EOL> name = '<STR_LIT>' ) , <EOL> ) </s>
