diff options
Diffstat (limited to 'app/posts/urls.py')
-rw-r--r-- | app/posts/urls.py | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app/posts/urls.py b/app/posts/urls.py deleted file mode 100644 index 322e5ad..0000000 --- a/app/posts/urls.py +++ /dev/null @@ -1,24 +0,0 @@ -from django.urls import path, re_path -from django.views.generic.base import RedirectView - -from . import views - -app_name = "posts" - -urlpatterns = [ - path( - r'<str:slug>.txt', - views.EntryDetailViewTXT.as_view(), - name="detail-txt" - ), - path( - r'<str:slug>', - views.EntryDetailView.as_view(), - name="detail" - ), - re_path( - r'<int:page>/', - views.EntryList.as_view(), - name="list" - ), -] |