From 7a80486de7d2a4d2df478708558f7c802e09e3fa Mon Sep 17 00:00:00 2001 From: Felipe Vieira Date: Tue, 24 Apr 2012 23:03:40 +0000 Subject: [PATCH] change uri api --- sigi/templates/diagnosticos/graficos.html | 2 +- sigi/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sigi/templates/diagnosticos/graficos.html b/sigi/templates/diagnosticos/graficos.html index 969d17f..5483528 100644 --- a/sigi/templates/diagnosticos/graficos.html +++ b/sigi/templates/diagnosticos/graficos.html @@ -46,7 +46,7 @@ jQuery(document).ready(function () { {% for pergunta in perguntas %}
  • {% if pergunta.datatype == 'many' or pergunta.datatype == 'one' %} -

    {{pergunta.title}}

    +

    {{pergunta.title}}

    diff --git a/sigi/urls.py b/sigi/urls.py index 337fdb5..2eff650 100644 --- a/sigi/urls.py +++ b/sigi/urls.py @@ -79,7 +79,7 @@ urlpatterns = patterns( # graficos de perguntas (r'^sigi/diagnosticos/graficos/$', 'sigi.apps.diagnosticos.views.graficos'), - (r'^sigi/diagnosticos/grafico_api/$', + (r'^sigi/api/diagnosticos/$', 'sigi.apps.diagnosticos.views.grafico_api'), # automatic interface based on admin (r'^sigi/(.*)', sites.default.root),