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: