From a8548b39d989be406f8034accef00d2dfc9af483 Mon Sep 17 00:00:00 2001 From: Eduardo Edson Batista Cordeiro Alves Date: Fri, 20 May 2016 12:54:09 -0300 Subject: [PATCH] =?UTF-8?q?Remove=20indica=C3=A7=C3=A3o=20de=20que=20texto?= =?UTF-8?q?=20deve=20ser=20PDF=20(#480)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- materia/migrations/0037_auto_20160520_1250.py | 22 +++++++++++++++++++ materia/models.py | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 materia/migrations/0037_auto_20160520_1250.py diff --git a/materia/migrations/0037_auto_20160520_1250.py b/materia/migrations/0037_auto_20160520_1250.py new file mode 100644 index 000000000..9e1693668 --- /dev/null +++ b/materia/migrations/0037_auto_20160520_1250.py @@ -0,0 +1,22 @@ +# -*- coding: utf-8 -*- +# Generated by Django 1.9.5 on 2016-05-20 15:50 +from __future__ import unicode_literals + +from django.db import migrations, models +import materia.models +import sapl.utils + + +class Migration(migrations.Migration): + + dependencies = [ + ('materia', '0036_merge'), + ] + + operations = [ + migrations.AlterField( + model_name='proposicao', + name='texto_original', + field=models.FileField(blank=True, null=True, upload_to=materia.models.texto_upload_path, validators=[sapl.utils.restringe_tipos_de_arquivo_txt], verbose_name='Texto Original'), + ), + ] diff --git a/materia/models.py b/materia/models.py index 04f5c6c3b..54111f2a6 100644 --- a/materia/models.py +++ b/materia/models.py @@ -473,7 +473,7 @@ class Proposicao(models.Model): blank=True, null=True, upload_to=texto_upload_path, - verbose_name=_('Texto Original (PDF)'), + verbose_name=_('Texto Original'), validators=[restringe_tipos_de_arquivo_txt]) class Meta: