|
|
|
@ -8,4 +8,5 @@ urlpatterns = [ |
|
|
|
re_path(r"^section/(?P<section>[-\w]+)/$", views.SectionIndexView.as_view(), name="blog_section"), |
|
|
|
re_path(r"^section/(?P<section>[-\w]+)/$", views.SectionIndexView.as_view(), name="blog_section"), |
|
|
|
re_path(r"^post/(?P<post_pk>\d+)/$", views.StaffPostDetailView.as_view(), name="blog_post_pk"), |
|
|
|
re_path(r"^post/(?P<post_pk>\d+)/$", views.StaffPostDetailView.as_view(), name="blog_post_pk"), |
|
|
|
re_path(r"^post/(?P<post_secret_key>\w+)/$", views.SecretKeyPostDetailView.as_view(), name="blog_post_secret"), |
|
|
|
re_path(r"^post/(?P<post_secret_key>\w+)/$", views.SecretKeyPostDetailView.as_view(), name="blog_post_secret"), |
|
|
|
|
|
|
|
re_path(r"^(?P<post_slug>[-\w]+)/$", views.SlugUniquePostDetailView.as_view(), name="blog_post_slug") |
|
|
|
] |
|
|
|
] |
|
|
|
|