reverted changes to url structure
This commit is contained in:
		
					parent
					
						
							
								f01390ec17
							
						
					
				
			
			
				commit
				
					
						2dff11d446
					
				
			
		
					 6 changed files with 10 additions and 12 deletions
				
			
		|  | @ -98,11 +98,9 @@ | |||
|         <!-- Collect the nav links, forms, and other content for toggling --> | ||||
|         <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"> | ||||
|             <ul class="nav navbar-nav"> | ||||
|                 {#                <pre> {% filter force_escape %} {% debug %} {% endfilter %} </pre>#} | ||||
|                 {#                {% show_menu 0 0 0 1 %}#} | ||||
|                 <li> | ||||
|                     <a href="{% url 'digitalglarus:home' %}">Home</a> | ||||
|                 </li> | ||||
| 	        <li> | ||||
| 			<a href="{% url 'pages-root' %}">Home</a> | ||||
| 		</li> | ||||
|                 {% show_menu_below_id "digital-glarus-page" 0 %} | ||||
|                 <li> | ||||
|                     <a href="{% url 'digitalglarus:supporters' %}">Supporters</a> | ||||
|  |  | |||
|  | @ -5,9 +5,9 @@ from . import views | |||
| from .views import ContactView, IndexView, AboutView | ||||
| 
 | ||||
| urlpatterns = [ | ||||
|     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'^$', 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()), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue