From 3a932285104daa1283149c27eabb8cf1a4573c44 Mon Sep 17 00:00:00 2001 From: Sesostris Vieira Date: Wed, 4 Nov 2015 15:03:45 -0200 Subject: [PATCH] Fix bug reported by colab ticket 3259 --- sigi/apps/casas/urls.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/sigi/apps/casas/urls.py b/sigi/apps/casas/urls.py index 84d2b71..f815f4a 100644 --- a/sigi/apps/casas/urls.py +++ b/sigi/apps/casas/urls.py @@ -7,20 +7,20 @@ urlpatterns = patterns( # Informacoes de uma casa legislativa url(r'^casalegislativa/report_complete/$', 'report_complete', name='report-complete-all'), - url(r'^(?P\w+)/report_complete/$', 'report_complete', name='report-complete-id'), + url(r'^casalegislativa/(?P\w+)/report_complete/$', 'report_complete', name='report-complete-id'), # Reports Labels url(r'^casalegislativa/labels/$', 'labels_report', name='labels-report-all'), - url(r'^(?P\w+)/labels/$', 'labels_report', name='labels-report-id'), + url(r'^casalegislativa/(?P\w+)/labels/$', 'labels_report', name='labels-report-id'), # Reports Labels Parlamentar url(r'^casalegislativa/labels_parlamentar/$', 'labels_report_parlamentar', name='lebels-report-parlamentar-all'), - url(r'^(?P\w+)/labels_parlamentar/$', 'labels_report_parlamentar', name='labels-report-parlamentar-id'), + url(r'^casalegislativa/(?P\w+)/labels_parlamentar/$', 'labels_report_parlamentar', name='labels-report-parlamentar-id'), # Reports labels sem presidente url(r'^casalegislativa/labels_sem_presidente/$', 'labels_report_sem_presidente', name='labels-report-sem-presidente-all'), - url(r'^(?P\w+)/labels_sem_presidente/$', 'labels_report_sem_presidente', name='labels-report-sem-presidente-id'), + url(r'^casalegislativa/(?P\w+)/labels_sem_presidente/$', 'labels_report_sem_presidente', name='labels-report-sem-presidente-id'), # Reports casas sem convenio url(r'^casalegislativa/reports/$', 'report', name='casa-report'),