dynamicweb/ungleich/urls.py
2016-04-03 11:46:25 +02:00

8 lines
No EOL
271 B
Python

from django.conf.urls import url
from . import views
urlpatterns = [
url(r'^$',views.PostListViewUngleich.as_view()),
# url(r'^$',views.PostListView.as_view()),
url(r'^(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<slug>\w[-\w]*)/$',views.details)
]