Changeset - 97899caf7837
[Not reviewed]
0 2 0
Ben Sturmfels (bsturmfels) - 5 months ago 2021-12-17 06:27:26
ben@sturm.com.au
Remove URL slash prefix.
2 files changed with 3 insertions and 3 deletions:
0 comments (0 inline, 0 general)
www/conservancy/apps/supporter/urls.py
Show inline comments
...
 
@@ -5,8 +5,8 @@ from conservancy.static import views as static_views
 

	
 
INDEX_VIEW = supp_views.index
 
urlpatterns = [
 
    url(r'^/?$', INDEX_VIEW),
 
    url(r'^/banners?/?$', TemplateView.as_view(template_name='supporter/banners.html')),
 
    url(r'^$', INDEX_VIEW),
 
    url(r'^banners?/?$', TemplateView.as_view(template_name='supporter/banners.html')),
 
]
 
urlpatterns.extend(
 
    url(r'^{}(?:\.html|/|)$'.format(basename), INDEX_VIEW)
www/conservancy/urls.py
Show inline comments
...
 
@@ -55,7 +55,7 @@ urlpatterns = [
 
    url(r'^contractpatch', include('conservancy.apps.contractpatch.urls')),
 
    url(r'^overview', static_views.index),
 
    url(r'^privacy-policy', static_views.index),
 
    url(r'^sustainer', include('conservancy.apps.supporter.urls')),
 
    url(r'^sustainer/', include('conservancy.apps.supporter.urls')),
 
    url(r'^coming-soon.html', static_views.index),
 
    url(r'^fundraiser_data', fundgoal_views.view),
 
    url(r'^ccs-upload/', include('conservancy.apps.ccs_upload.urls', namespace='ccs_upload')),
0 comments (0 inline, 0 general)