diff options
author | lxf <sng@luxagraf.net> | 2021-01-07 16:49:29 -0500 |
---|---|---|
committer | lxf <sng@luxagraf.net> | 2021-01-07 16:49:29 -0500 |
commit | e61f3d2c4537a2670c40b33eb02231a71dfb028a (patch) | |
tree | 587120b5a497c9e70d46e3eae7d1a219b5d4858b /app/posts/urls | |
parent | 534fcd39b1e8d24556d3bf110245a7373ee0eeb6 (diff) |
added a photograpy section by tweaking Category model and then adding
some urls
Diffstat (limited to 'app/posts/urls')
-rw-r--r-- | app/posts/urls/guide_urls.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/posts/urls/guide_urls.py b/app/posts/urls/guide_urls.py index e0a2210..8927034 100644 --- a/app/posts/urls/guide_urls.py +++ b/app/posts/urls/guide_urls.py @@ -17,6 +17,12 @@ urlpatterns = [ #path(r'field-tests/', include('posts.urls', namespace='review-list')), #path(r'review/', include('posts.review_urls')), re_path(r'^review/$', RedirectView.as_view(url='/guides/')), + path( + r'<str:topic>/', + views.GuideTopicListView.as_view(), + {'page':1}, + name="guides-by-topic" + ), #path( # r'<str:slug>', # views.EntryDetailView.as_view(), |