Remove URL slash prefix.
This commit is contained in:
parent
e9df3a0d7e
commit
97899caf78
2 changed files with 3 additions and 3 deletions
|
@ -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)
|
||||
|
|
|
@ -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')),
|
||||
|
|
Loading…
Reference in a new issue