mirror of https://github.com/interlegis/sigi.git
Sesostris Vieira
3 years ago
17 changed files with 165 additions and 110 deletions
@ -0,0 +1,6 @@ |
|||
from django.apps import AppConfig |
|||
from django.utils.translation import gettext_lazy as _ |
|||
|
|||
class EventosConfig(AppConfig): |
|||
name = 'sigi.apps.eventos' |
|||
verbose_name = _('Eventos Interlegis') |
@ -0,0 +1,90 @@ |
|||
# Generated by Django 4.0.1 on 2022-01-19 16:24 |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('servidores', '0008_alter_servico_id_alter_servidor_foto_and_more'), |
|||
('eventos', '0016_merge'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='anexo', |
|||
name='arquivo', |
|||
field=models.FileField(max_length=500, upload_to='apps/eventos/anexo/arquivo'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='anexo', |
|||
name='descricao', |
|||
field=models.CharField(max_length=70, verbose_name='descrição'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='anexo', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='convite', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='convite', |
|||
name='servidor', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='servidores.servidor', verbose_name='Servidor que convidou'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='equipe', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='evento', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='evento', |
|||
name='status', |
|||
field=models.CharField(choices=[('P', 'Previsão'), ('A', 'A confirmar'), ('O', 'Confirmado'), ('R', 'Realizado'), ('C', 'Cancelado')], max_length=1, verbose_name='Status'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='funcao', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='modelodeclaracao', |
|||
name='formato', |
|||
field=models.CharField(choices=[('A4 portrait', 'A4 retrato'), ('A4 landscape', 'A4 paisagem'), ('letter portrait', 'Carta retrato'), ('letter landscape', 'Carta paisagem')], default='A4 portrait', max_length=30, verbose_name='Formato da página'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='modelodeclaracao', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='modulo', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='modulo', |
|||
name='tipo', |
|||
field=models.CharField(choices=[('A', 'Aula'), ('P', 'Palestra'), ('R', 'Apresentação')], max_length=1, verbose_name='Tipo'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='tipoevento', |
|||
name='categoria', |
|||
field=models.CharField(choices=[('C', 'Curso'), ('E', 'Encontro'), ('O', 'Oficina'), ('S', 'Seminário'), ('V', 'Visita')], max_length=1, verbose_name='Categoaria'), |
|||
), |
|||
migrations.AlterField( |
|||
model_name='tipoevento', |
|||
name='id', |
|||
field=models.BigAutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID'), |
|||
), |
|||
] |
After Width: | Height: | Size: 5.3 KiB |
Loading…
Reference in new issue