diff options
author | luxagraf <sng@luxagraf.net> | 2022-12-30 10:16:59 -0600 |
---|---|---|
committer | luxagraf <sng@luxagraf.net> | 2022-12-30 10:16:59 -0600 |
commit | 35ac29dfe6d563f99664976d9c6897799d2dadde (patch) | |
tree | 868616a0bbba799f501129885e0a6d1f3f8e2beb /app/posts/urls | |
parent | 60bf1a8b71750b4423f36730a8e1d2c6093cd06a (diff) |
posts: reverted to calling them essays and redid a few things to make it
easier to see what's going on
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" ), |