Browse Source

Adicionado verbose name parao o campo indexacao (#3486)

Co-authored-by: Gustavo Santos <gustavo@DESKTOP-JVUD0SL.localdomain>
pull/3481/head
Gustavo274 3 years ago
committed by GitHub
parent
commit
e771a59ba2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 18
      sapl/materia/migrations/0080_auto_20211112_1106.py
  2. 2
      sapl/materia/models.py

18
sapl/materia/migrations/0080_auto_20211112_1106.py

@ -0,0 +1,18 @@
# Generated by Django 2.2.24 on 2021-11-12 14:06
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('materia', '0079_auto_20210311_1711'),
]
operations = [
migrations.AlterField(
model_name='documentoacessorio',
name='indexacao',
field=models.TextField(blank=True, verbose_name='Indexação'),
),
]

2
sapl/materia/models.py

@ -556,7 +556,7 @@ class DocumentoAcessorio(models.Model):
autor = models.CharField( autor = models.CharField(
max_length=200, blank=True, verbose_name=_('Autor')) max_length=200, blank=True, verbose_name=_('Autor'))
ementa = models.TextField(blank=True, verbose_name=_('Ementa')) ementa = models.TextField(blank=True, verbose_name=_('Ementa'))
indexacao = models.TextField(blank=True) indexacao = models.TextField(blank=True, verbose_name=_('Indexação'))
arquivo = models.FileField( arquivo = models.FileField(
blank=True, blank=True,
null=True, null=True,

Loading…
Cancel
Save