Changeset - bc21a0b92f99
[Not reviewed]
0 1 0
Ben Sturmfels (bsturmfels) - 6 months ago 2023-11-27 08:42:29
ben@sturm.com.au
Drop the unused /admin/doc/ route
1 file changed with 0 insertions and 1 deletions:
0 comments (0 inline, 0 general)
conservancy/urls.py
Show inline comments
...
 
@@ -27,25 +27,24 @@ from .static import views as static_views
 

	
 
admin.autodiscover()
 

	
 
urlpatterns = [
 
    # Uncomment these 3 lines when testing locally to get static content
 
    url(r'^css', static_views.index),
 
    url(r'^img', static_views.index),
 
    url(r'^js', static_views.index),
 
    url(r'^$', frontpage.view),
 
    url(r'^sponsors$', frontpage.view),
 
    url(r'^sponsors/$', sponsors.view),
 
    url(r'^sponsors/index.html$', sponsors.view),
 
    url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
 
    url(r'^admin/', admin.site.urls),
 
    url(r'^feeds/blog/?$', feeds.BlogFeed()),
 
    url(r'^feeds/news/?$', feeds.PressReleaseFeed()),
 
    url(r'^feeds/omnibus/?$', feeds.OmnibusFeed()),
 
    url(r'^feeds/?$', feeds.view),
 
    url(r'^news/', include('conservancy.news.urls')),
 
    url(r'^blog/', include('conservancy.blog.urls')),
 
    # formerly static templated things... (dirs with templates)
 
    url(r'^error/(40[134]|500)(?:/index\.html|/|)$', static_views.handler),
 
    url(r'^error', static_views.index),
 
    url(r'^about', static_views.index),
 
    url(r'^activities', static_views.index),
0 comments (0 inline, 0 general)