diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/base_urls.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/base_urls.py b/config/base_urls.py index 67ce345..f371ba7 100644 --- a/config/base_urls.py +++ b/config/base_urls.py @@ -57,9 +57,9 @@ urlpatterns = [ #path(r'review/', include('posts.urls.review_urls')), #re_path(r'^review/$', RedirectView.as_view(url='/reviews/')), #path(r'reviews/', include('posts.urls.review_urls', namespace='review-list')), - #path(r'guide/', include('posts.urls.guide_urls')), - #re_path(r'^guide/$', RedirectView.as_view(url='/guides/')), - #path(r'guides/', include('posts.urls.guide_urls', namespace='guide-list')), + re_path(r'^guide/$', RedirectView.as_view(url='/guides/')), + path(r'guides/', include('posts.urls.guide_urls', namespace='guides')), + path(r'guide/', include('posts.urls.guide_urls')), re_path(r'^essay/$', RedirectView.as_view(url='/essays/')), path(r'essay/', include('posts.urls.essay_urls')), path(r'essays/', include('posts.urls.essay_urls', namespace='essay-list')), |