From 73a9f976b3fc9e37ea0283f3198443f2ac48cefa Mon Sep 17 00:00:00 2001 From: LeandroRoberto Date: Tue, 15 Sep 2015 14:21:13 -0300 Subject: [PATCH] Basic error correction typing --- norma/migrations/0005_auto_20150915_1141.py | 18 ++++++++++++++++++ .../compilacao/template_render_bloco.html | 3 +-- 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 norma/migrations/0005_auto_20150915_1141.py diff --git a/norma/migrations/0005_auto_20150915_1141.py b/norma/migrations/0005_auto_20150915_1141.py new file mode 100644 index 000000000..67ed2e0a1 --- /dev/null +++ b/norma/migrations/0005_auto_20150915_1141.py @@ -0,0 +1,18 @@ +# -*- coding: utf-8 -*- +from __future__ import unicode_literals + +from django.db import models, migrations + + +class Migration(migrations.Migration): + + dependencies = [ + ('norma', '0004_auto_20150907_0004'), + ] + + operations = [ + migrations.AlterModelOptions( + name='normajuridica', + options={'verbose_name_plural': 'Normas Jurídicas', 'verbose_name': 'Norma Jurídica', 'ordering': ['-data']}, + ), + ] diff --git a/templates/compilacao/template_render_bloco.html b/templates/compilacao/template_render_bloco.html index 6c8969e56..bf8e9689a 100644 --- a/templates/compilacao/template_render_bloco.html +++ b/templates/compilacao/template_render_bloco.html @@ -21,8 +21,7 @@ {% if dispositivo.norma_publicada_id != None %} - + {{ dispositivo.tipo_dispositivo.nota_automatica_prefixo_html|safe }} {% nota_automatica dispositivo %} {{ dispositivo.tipo_dispositivo.nota_automatica_sufixo_html|safe }}