From 6e679800f7afcb5c8d5a37150eac4ead1546aa07 Mon Sep 17 00:00:00 2001 From: Thomas Steen Rasmussen Date: Mon, 8 Aug 2016 20:05:21 +0200 Subject: [PATCH] move namespaces to the top --- bornhack/urls.py | 40 ++++++++++++++++++++-------------------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/bornhack/urls.py b/bornhack/urls.py index 5715a0f0..8bb50b42 100644 --- a/bornhack/urls.py +++ b/bornhack/urls.py @@ -12,6 +12,26 @@ from django.views.generic import TemplateView, RedirectView from django.core.urlresolvers import reverse_lazy urlpatterns = [ + url( + r'^profile/', + include('profiles.urls', namespace='profiles') + ), + url( + r'^shop/', + include('shop.urls', namespace='shop') + ), + url( + r'^news/', + include('news.urls', namespace='news') + ), + url( + r'^villages/', + include('villages.urls', namespace='villages') + ), + url( + r'^schedule/', + include('program.urls', namespace='schedule') + ), url( r'^$', TemplateView.as_view(template_name='frontpage.html'), @@ -62,26 +82,6 @@ urlpatterns = [ TemplateView.as_view(template_name='legal/general_terms_and_conditions.html'), name='general-terms' ), - url( - r'^profile/', - include('profiles.urls', namespace='profiles') - ), - url( - r'^shop/', - include('shop.urls', namespace='shop') - ), - url( - r'^news/', - include('news.urls', namespace='news') - ), - url( - r'^villages/', - include('villages.urls', namespace='villages') - ), - url( - r'^schedule/', - include('program.urls', namespace='schedule') - ), url(r'^accounts/', include('allauth.urls')), url(r'^admin/', include(admin.site.urls)), ]