new url structure
This commit is contained in:
		
					parent
					
						
							
								a6256964e8
							
						
					
				
			
			
				commit
				
					
						5d0b49b6d9
					
				
			
		
					 3 changed files with 5 additions and 5 deletions
				
			
		| 
						 | 
				
			
			@ -5,13 +5,13 @@ from . import views
 | 
			
		|||
from .views import ContactView, IndexView, AboutView
 | 
			
		||||
 | 
			
		||||
urlpatterns = [
 | 
			
		||||
    url(r'', IndexView.as_view(), name='home'),
 | 
			
		||||
    url(r'^$', IndexView.as_view(), name='home'),
 | 
			
		||||
    url(_(r'home/?$'), IndexView.as_view(), name='home'),
 | 
			
		||||
    url(_(r'about/?$'), AboutView.as_view(), name='about'),
 | 
			
		||||
    url(_(r'contact/?$'), ContactView.as_view(), name='contact'),
 | 
			
		||||
    url(_(r'supporters/?$'), views.supporters, name='supporters'),
 | 
			
		||||
    url(_(r'calendar_api/(?P<month>\d+)/(?P<year>\d+)?$'),views.CalendarApi.as_view()),
 | 
			
		||||
    url(_(r'calendar_api/'),views.CalendarApi.as_view()),
 | 
			
		||||
    url(r'calendar_api/(?P<month>\d+)/(?P<year>\d+)?$',views.CalendarApi.as_view()),
 | 
			
		||||
    url(r'calendar_api/',views.CalendarApi.as_view()),
 | 
			
		||||
    url(_(r'support-us/?$'), views.support, name='support'),
 | 
			
		||||
    url(r'^blog/(?P<slug>\w[-\w]*)/$', views.blog_detail, name='blog-detail'),
 | 
			
		||||
    url(r'blog/$', views.blog, name='blog'),
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue