diff options
Diffstat (limited to 'app/guides/review_urls.py')
-rw-r--r-- | app/guides/review_urls.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/app/guides/review_urls.py b/app/guides/review_urls.py new file mode 100644 index 0000000..7048065 --- /dev/null +++ b/app/guides/review_urls.py @@ -0,0 +1,18 @@ +from django.urls import path, re_path + +from . import views + +app_name = "review" + +urlpatterns = [ + path( + r'<str:slug>', + views.GuideDetailView.as_view(), + name="review-detail" + ), + path( + r'<str:slug>.txt', + views.GuideDetailViewTXT.as_view(), + name="review-detail-txt" + ), +] |