2016-04-03 09:46:25 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
from . import views
|
2016-07-15 05:14:51 +00:00
|
|
|
from .views import PostDetailViewUngleich
|
2016-04-03 09:46:25 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2016-07-15 05:14:51 +00:00
|
|
|
url(r'^$', views.PostListViewUngleich.as_view(), name="post-list"),
|
2016-04-03 09:46:25 +00:00
|
|
|
# url(r'^$',views.PostListView.as_view()),
|
2016-04-10 21:12:43 +00:00
|
|
|
url(r'^(?P<year>\d{4})/(?P<month>\d{1,2})/(?P<day>\d{1,2})/(?P<slug>\w[-\w]*)/$',
|
2016-07-15 05:14:51 +00:00
|
|
|
PostDetailViewUngleich.as_view(), name="post-detail")
|
2016-04-10 21:12:43 +00:00
|
|
|
]
|