From 9e567237be56f258bb582b8e93201ecee3cbfd1f Mon Sep 17 00:00:00 2001 From: Marcio Mazza Date: Wed, 13 Apr 2016 10:42:19 -0300 Subject: [PATCH] =?UTF-8?q?Usa=20modulos=20em=20url=20includes=20ao=20inv?= =?UTF-8?q?=C3=A9s=20de=20strings?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sapl/urls.py | 34 +++++++++++++++++++++++----------- 1 file changed, 23 insertions(+), 11 deletions(-) diff --git a/sapl/urls.py b/sapl/urls.py index 2afef0e3c..72facc767 100644 --- a/sapl/urls.py +++ b/sapl/urls.py @@ -17,22 +17,34 @@ from django.conf.urls import include, url from django.contrib import admin from django.views.generic.base import TemplateView +import base.urls +import comissoes.urls +import compilacao.urls +import lexml.urls +import materia.urls +import norma.urls +import painel.urls +import parlamentares.urls +import protocoloadm.urls +import relatorios.urls +import sessao.urls + urlpatterns = [ url(r'^$', TemplateView.as_view(template_name='index.html')), url(r'^admin/', include(admin.site.urls)), - url(r'', include('comissoes.urls')), - url(r'', include('sessao.urls')), - url(r'', include('parlamentares.urls')), - url(r'', include('materia.urls')), - url(r'', include('norma.urls')), - url(r'', include('lexml.urls')), - url(r'', include('painel.urls')), - url(r'', include('protocoloadm.urls')), - url(r'', include('compilacao.urls')), - url(r'', include('relatorios.urls')), + url(r'', include(comissoes.urls)), + url(r'', include(sessao.urls)), + url(r'', include(parlamentares.urls)), + url(r'', include(materia.urls)), + url(r'', include(norma.urls)), + url(r'', include(lexml.urls)), + url(r'', include(painel.urls)), + url(r'', include(protocoloadm.urls)), + url(r'', include(compilacao.urls)), + url(r'', include(relatorios.urls)), # must come at the end # so that base /sistema/ url doesn't capture its children - url(r'', include('base.urls')), + url(r'', include(base.urls)), ]