diff options
Diffstat (limited to 'app/posts/urls')
-rw-r--r-- | app/posts/urls/essay_urls.py (renamed from app/posts/urls/notes_urls.py) | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/posts/urls/notes_urls.py b/app/posts/urls/essay_urls.py index 6fb9fa1..7eb872d 100644 --- a/app/posts/urls/notes_urls.py +++ b/app/posts/urls/essay_urls.py @@ -1,28 +1,28 @@ from django.urls import path, re_path -from ..views import guide_views as views +from ..views import essay_views as views -app_name = "notes" +app_name = "essays" urlpatterns = [ path( r'<str:slug>', - views.PostDetailView.as_view(), + views.EssayDetailView.as_view(), name="detail" ), path( r'<str:slug>.txt', - views.PostDetailViewTXT.as_view(), + views.EssayDetailViewTXT.as_view(), name="detail-txt" ), path( r'<int:page>/', - views.NotesListView.as_view(), + views.EssayListView.as_view(), name="list" ), path( r'', - views.NotesListView.as_view(), + views.EssayListView.as_view(), {'page':1}, name="list" ), |