Browse Source

Remove indicação de que texto deve ser PDF (#480)

pull/482/head
Eduardo Edson Batista Cordeiro Alves 9 years ago
committed by Edward
parent
commit
a8548b39d9
  1. 22
      materia/migrations/0037_auto_20160520_1250.py
  2. 2
      materia/models.py

22
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'),
),
]

2
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:

Loading…
Cancel
Save