You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
514 B
Python
13 lines
514 B
Python
from django.conf.urls import url
|
|
|
|
from nano.blog import views
|
|
|
|
urlpatterns = [
|
|
url(r'^(?P<year>\d{4})/(?P<month>[01]\d)/(?P<day>[0123]\d)/$', views.list_entries_by_date),
|
|
url(r'^(?P<year>\d{4})/(?P<month>[01]\d)/$', views.list_entries_by_year_and_month),
|
|
url(r'^(?P<year>\d{4})/$', views.list_entries_by_year),
|
|
url(r'^latest/$', views.list_latest_entries),
|
|
url(r'^today/$', views.list_entries_for_today),
|
|
url(r'^$', views.list_entries),
|
|
]
|