diff --git a/conservancy/urls.py b/conservancy/urls.py index fd25781f02949f85d25a22aa6c39b057b0b0fdb3..98ebc2b52727fe2b7f2d7f4205362f0af95acdb1 100644 --- a/conservancy/urls.py +++ b/conservancy/urls.py @@ -28,7 +28,6 @@ admin.autodiscover() urlpatterns = [ path('', frontpage.view), - path('sponsors', frontpage.view), path('sponsors/', sponsors.view), path('sponsors/index.html', sponsors.view), path('admin/', admin.site.urls), @@ -39,23 +38,23 @@ urlpatterns = [ path('news/', include('conservancy.news.urls')), path('blog/', include('conservancy.blog.urls')), # formerly static templated things... (dirs with templates) - re_path(r'^about', static_views.index), - re_path(r'^activities', static_views.index), - re_path(r'^donate', static_views.index), - re_path(r'^copyleft-compliance', static_views.index, {'fundraiser_sought': 'vmware-match-0'}), - re_path(r'^learn', static_views.index), - re_path(r'^press', static_views.index), - re_path(r'^projects', static_views.index), + re_path(r'^about/', static_views.index), + re_path(r'^activities/', static_views.index), + re_path(r'^donate/', static_views.index), + re_path(r'^copyleft-compliance/', static_views.index, {'fundraiser_sought': 'vmware-match-0'}), + re_path(r'^learn/', static_views.index), + re_path(r'^press/', static_views.index), + re_path(r'^projects/', static_views.index), re_path(r'^GiveUpGitHub', static_views.index), - re_path(r'^npoacct', static_views.index, {'fundraiser_sought': 'npoacct'}), + re_path(r'^npoacct/', static_views.index, {'fundraiser_sought': 'npoacct'}), path('contractpatch/', include('conservancy.contractpatch.urls')), - re_path(r'^overview', static_views.index), - re_path(r'^privacy-policy', static_views.index), + re_path(r'^overview/', static_views.index), + re_path(r'^privacy-policy/', static_views.index), path('sustainer/', include('conservancy.supporter.urls')), re_path(r'^coming-soon.html', static_views.index), path('fundraiser_data/', fundgoal_views.view), path('assignment/', include('conservancy.assignment.urls')), - re_path(r'^fossy/$', static_views.index), + re_path(r'^fossy/', static_views.index), path('fossy/', include('conservancy.fossy.urls')), path('casts/the-corresponding-source/', include('conservancy.podjango.urls')), path('usethesource/', include('conservancy.usethesource.urls')),