Rearrange urls.py to distinguish the content pages
This commit is contained in:
		
							parent
							
								
									6179988005
								
							
						
					
					
						commit
						618bb1e83d
					
				
					 1 changed files with 21 additions and 20 deletions
				
			
		|  | @ -28,33 +28,34 @@ admin.autodiscover() | |||
| 
 | ||||
| urlpatterns = [ | ||||
|     path('', frontpage.view), | ||||
|     path('sponsors/', sponsors.view), | ||||
|     path('sponsors/index.html', sponsors.view), | ||||
|     path('admin/', admin.site.urls), | ||||
|     path('assignment/', include('conservancy.assignment.urls')), | ||||
|     path('blog/', include('conservancy.blog.urls')), | ||||
|     path('casts/the-corresponding-source/', include('conservancy.podjango.urls')), | ||||
|     path('contractpatch/', include('conservancy.contractpatch.urls')), | ||||
|     path('feeds/', feeds.view), | ||||
|     path('feeds/blog/', feeds.BlogFeed()), | ||||
|     path('feeds/news/', feeds.PressReleaseFeed()), | ||||
|     path('feeds/omnibus/', feeds.OmnibusFeed()), | ||||
|     path('feeds/', feeds.view), | ||||
|     path('fossy/', include('conservancy.fossy.urls')), | ||||
|     path('fundraiser_data/', fundgoal_views.view), | ||||
|     path('news/', include('conservancy.news.urls')), | ||||
|     path('blog/', include('conservancy.blog.urls')), | ||||
|     # formerly static templated things... (dirs with templates) | ||||
|     path('sponsors/', sponsors.view), | ||||
|     path('sponsors/index.html', sponsors.view), | ||||
|     path('sustainer/', include('conservancy.supporter.urls')), | ||||
|     path('usethesource/', include('conservancy.usethesource.urls')), | ||||
| 
 | ||||
|     # Directories of templates and files | ||||
|     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'}), | ||||
|     path('contractpatch/', include('conservancy.contractpatch.urls')), | ||||
|     re_path(r'^overview/', static_views.index), | ||||
|     re_path(r'^privacy-policy/', static_views.index), | ||||
|     path('sustainer/', include('conservancy.supporter.urls')), | ||||
|     path('fundraiser_data/', fundgoal_views.view), | ||||
|     path('assignment/', include('conservancy.assignment.urls')), | ||||
|     re_path(r'^donate/', static_views.index), | ||||
|     path('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')), | ||||
|     re_path(r'^GiveUpGitHub/', static_views.index), | ||||
|     re_path(r'^learn/', static_views.index), | ||||
|     re_path(r'^npoacct/', static_views.index, {'fundraiser_sought': 'npoacct'}), | ||||
|     re_path(r'^overview/', static_views.index), | ||||
|     re_path(r'^press/', static_views.index), | ||||
|     re_path(r'^privacy-policy/', static_views.index), | ||||
|     re_path(r'^projects/', static_views.index), | ||||
| ] | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue