Changeset - b2e952f3b844
[Not reviewed]
0 3 0
Ben Sturmfels (bsturmfels) - 2 years ago 2021-12-17 07:14:50
ben@sturm.com.au
Fix URLconfs causing Django check warnings.
3 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/blog/urls.py
Show inline comments
...
 
@@ -19,3 +19,3 @@ urlpatterns = [
 
    url(r'^(?P<year>\d{4})/$', BlogYearArchiveView.as_view(**info_dict)),
 
    url(r'^/?$', custom_index, dict(info_dict, paginate_by=4)),
 
    url(r'^$', custom_index, dict(info_dict, paginate_by=4)),
 
    url(r'^query/$', query),
www/conservancy/apps/news/urls.py
Show inline comments
...
 
@@ -38,3 +38,3 @@ urlpatterns = [
 
   url(r'^(?P<year>\d{4})/$', NewsYearArchiveView.as_view(**info_dict)),
 
   url(r'^/?$', listing, dict(info_dict, paginate_by=6)),
 
   url(r'^$', listing, dict(info_dict, paginate_by=6)),
 
]
www/conservancy/urls.py
Show inline comments
...
 
@@ -39,4 +39,4 @@ urlpatterns = [
 
    url(r'^feeds/?$', feeds.view),
 
    url(r'^news(?:/|$)', include('conservancy.apps.news.urls')),
 
    url(r'^blog(?:/|$)', include('conservancy.apps.blog.urls')),
 
    url(r'^news/', include('conservancy.apps.news.urls')),
 
    url(r'^blog/', include('conservancy.apps.blog.urls')),
 
    # formerly static templated things... (dirs with templates)
0 comments (0 inline, 0 general)