move namespaces to the top
This commit is contained in:
parent
bebd3d9324
commit
6e679800f7
|
@ -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)),
|
||||
]
|
||||
|
|
Loading…
Reference in a new issue