From e61f3d2c4537a2670c40b33eb02231a71dfb028a Mon Sep 17 00:00:00 2001 From: lxf Date: Thu, 7 Jan 2021 16:49:29 -0500 Subject: added a photograpy section by tweaking Category model and then adding some urls --- app/posts/urls/guide_urls.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'app/posts/urls') 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'/', + views.GuideTopicListView.as_view(), + {'page':1}, + name="guides-by-topic" + ), #path( # r'', # views.EntryDetailView.as_view(), -- cgit v1.2.3-70-g09d2