summaryrefslogtreecommitdiff
path: root/app/posts/urls
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/urls')
-rw-r--r--app/posts/urls/photo_essay_urls.py (renamed from app/posts/urls/film_urls.py)10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/posts/urls/film_urls.py b/app/posts/urls/photo_essay_urls.py
index 872d3f4..e69f07c 100644
--- a/app/posts/urls/film_urls.py
+++ b/app/posts/urls/photo_essay_urls.py
@@ -1,23 +1,23 @@
from django.urls import path, re_path
-from ..views import film_views as views
+from ..views import photo_essay_views as views
-app_name = "film"
+app_name = "photo_essay"
urlpatterns = [
path(
r'<str:slug>',
- views.FilmDetailView.as_view(),
+ views.PhotoEssayDetailView.as_view(),
name="detail"
),
path(
r'<int:page>/',
- views.FilmListView.as_view(),
+ views.PhotoEssayListView.as_view(),
name="list"
),
path(
r'',
- views.FilmListView.as_view(),
+ views.PhotoEssayListView.as_view(),
{'page':1},
name="list"
),