Commits

Guilherme Gondim  committed dc0d122

Remove archive prefix

  • Participants
  • Parent commits 6b930b1

Comments (0)

Files changed (1)

File diario/urls/archive.py

     url('^$', 'archive_index', name='archive-index'),
     url('^(?P<year>\d{4})/$', 'year_archive', name='archive-year'),
     url('^(?P<year>\d{4})/(?P<month>\d{2})/$', 'month_archive', name='archive-month'),
-    url('^archive/(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', 'day_archive', name='archive-day'),
+    url('^(?P<year>\d{4})/(?P<month>\d{2})/(?P<day>\d{2})/$', 'day_archive', name='archive-day'),
 )