summaryrefslogtreecommitdiff
path: root/app/posts/urls/review_urls.py
diff options
context:
space:
mode:
Diffstat (limited to 'app/posts/urls/review_urls.py')
-rw-r--r--app/posts/urls/review_urls.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/app/posts/urls/review_urls.py b/app/posts/urls/review_urls.py
index 6b78e43..3c8368d 100644
--- a/app/posts/urls/review_urls.py
+++ b/app/posts/urls/review_urls.py
@@ -1,28 +1,28 @@
from django.urls import path, re_path
-from ..views import guide_views as views
+from ..views import review_views as views
app_name = "reviews"
urlpatterns = [
path(
r'<str:slug>',
- views.PostDetailView.as_view(),
+ views.ReviewDetailView.as_view(),
name="review-detail"
),
path(
r'<str:slug>.txt',
- views.PostDetailViewTXT.as_view(),
+ views.ReviewDetailViewTXT.as_view(),
name="review-detail-txt"
),
path(
r'<int:page>/',
- views.ReviewsListView.as_view(),
+ views.ReviewListView.as_view(),
name="review-list"
),
path(
r'',
- views.ReviewsListView.as_view(),
+ views.ReviewListView.as_view(),
{'page':1},
name="review-list"
),