EntryMonth.as_view(), name='zinnia_entry_archive_month'), url(_(r'^(?P<year>\d{4})/(?P<month>\d{2})/page/(?P<page>\d+)/$'), EntryMonth.as_view(), name='zinnia_entry_archive_month_paginated'), ] day_patterns = [ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', EntryDay.as_view(), name='zinnia_entry_archive_day'), url(_(r'^(?P<year>\d{4})/(?P<month>\d{2})/' '(?P<day>\d{2})/page/(?P<page>\d+)/$'), EntryDay.as_view(), name='zinnia_entry_archive_day_paginated'), ] today_patterns = [ url(_(r'^today/$'), EntryToday.as_view(), name='zinnia_entry_archive_today'), url(_(r'^today/page/(?P<page>\d+)/$'), EntryToday.as_view(), name='zinnia_entry_archive_today_paginated'), ] archive_patterns = (index_patterns + year_patterns + week_patterns + month_patterns + day_patterns + today_patterns) urlpatterns = patterns('', *archive_patterns)
month_patterns = [ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/$', EntryMonth.as_view(), name='entry_archive_month'), url(_(r'^(?P<year>\d{4})/(?P<month>\d{2})/page/(?P<page>\d+)/$'), EntryMonth.as_view(), name='entry_archive_month_paginated'), ] day_patterns = [ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', EntryDay.as_view(), name='entry_archive_day'), url(_(r'^(?P<year>\d{4})/(?P<month>\d{2})/' '(?P<day>\d{2})/page/(?P<page>\d+)/$'), EntryDay.as_view(), name='entry_archive_day_paginated'), ] today_patterns = [ url(_(r'^today/$'), EntryToday.as_view(), name='entry_archive_today'), url(_(r'^today/page/(?P<page>\d+)/$'), EntryToday.as_view(), name='entry_archive_today_paginated'), ] archive_patterns = (index_patterns + year_patterns + week_patterns + month_patterns + day_patterns + today_patterns) urlpatterns = archive_patterns
month_patterns = [ path('<yyyy:year>/<mm:month>/', EntryMonth.as_view(), name='entry_archive_month'), path(_('<yyyy:year>/<mm:month>/page/<int:page>/'), EntryMonth.as_view(), name='entry_archive_month_paginated'), ] day_patterns = [ path('<yyyy:year>/<mm:month>/<dd:day>/', EntryDay.as_view(), name='entry_archive_day'), path(_('<yyyy:year>/<mm:month>/' '<dd:day>/page/<int:page>/'), EntryDay.as_view(), name='entry_archive_day_paginated'), ] today_patterns = [ path(_('today/'), EntryToday.as_view(), name='entry_archive_today'), path(_('today/page/<int:page>/'), EntryToday.as_view(), name='entry_archive_today_paginated'), ] archive_patterns = (index_patterns + year_patterns + week_patterns + month_patterns + day_patterns + today_patterns) urlpatterns = archive_patterns
EntryMonth.as_view(), name='zinnia_entry_archive_month_paginated'), ] day_patterns = [ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', EntryDay.as_view(), name='zinnia_entry_archive_day'), url(_(r'^(?P<year>\d{4})/(?P<month>\d{2})/' '(?P<day>\d{2})/page/(?P<page>\d+)/$'), EntryDay.as_view(), name='zinnia_entry_archive_day_paginated'), ] today_patterns = [ url(_(r'^today/$'), EntryToday.as_view(), name='zinnia_entry_archive_today'), url(_(r'^today/page/(?P<page>\d+)/$'), EntryToday.as_view(), name='zinnia_entry_archive_today_paginated'), ] archive_patterns = (index_patterns + year_patterns + week_patterns + month_patterns + day_patterns + today_patterns) urlpatterns = patterns( '', *archive_patterns )
EntryMonth.as_view(), name='zinnia_entry_archive_month'), url(r'^(?P<year>\d{4})/(?P<month>\d{2})/page/(?P<page>\d+)/$', EntryMonth.as_view(), name='zinnia_entry_archive_month_paginated'), ] day_patterns = [ url(r'^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', EntryDay.as_view(), name='zinnia_entry_archive_day'), url( r'^(?P<year>\d{4})/(?P<month>\d{2})/' '(?P<day>\d{2})/page/(?P<page>\d+)/$', EntryDay.as_view(), name='zinnia_entry_archive_day_paginated'), ] today_patterns = [ url(r'^today/$', EntryToday.as_view(), name='zinnia_entry_archive_today'), url(r'^today/page/(?P<page>\d+)/$', EntryToday.as_view(), name='zinnia_entry_archive_today_paginated'), ] archive_patterns = index_patterns + year_patterns + \ week_patterns + month_patterns + \ day_patterns + today_patterns urlpatterns = patterns('', *archive_patterns)