|
|
@ -1,16 +1,17 @@ |
|
|
# -*- coding: utf-8 -*- |
|
|
# -*- coding: utf-8 -*- |
|
|
# Generated by Django 1.9.13 on 2018-10-04 14:26 |
|
|
# Generated by Django 1.9.13 on 2018-10-23 10:43 |
|
|
from __future__ import unicode_literals |
|
|
from __future__ import unicode_literals |
|
|
|
|
|
|
|
|
from django.db import migrations, models |
|
|
from django.db import migrations, models |
|
|
import django.db.models.deletion |
|
|
import django.db.models.deletion |
|
|
|
|
|
import sapl.sessao.models |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration): |
|
|
class Migration(migrations.Migration): |
|
|
|
|
|
|
|
|
dependencies = [ |
|
|
dependencies = [ |
|
|
('parlamentares', '0025_auto_20180924_1724'), |
|
|
('parlamentares', '0025_auto_20180924_1724'), |
|
|
('sessao', '0023_auto_20180914_1315'), |
|
|
('sessao', '0026_auto_20181016_1944'), |
|
|
] |
|
|
] |
|
|
|
|
|
|
|
|
operations = [ |
|
|
operations = [ |
|
|
@ -22,6 +23,7 @@ class Migration(migrations.Migration): |
|
|
('hora', models.CharField(max_length=5, verbose_name='Horário (hh:mm)')), |
|
|
('hora', models.CharField(max_length=5, verbose_name='Horário (hh:mm)')), |
|
|
('observacao', models.TextField(blank=True, max_length=150, verbose_name='Observação')), |
|
|
('observacao', models.TextField(blank=True, max_length=150, verbose_name='Observação')), |
|
|
('ausencia', models.PositiveIntegerField(choices=[(1, 'Matéria'), (2, 'Sessão')], default=1, verbose_name='Ausente em')), |
|
|
('ausencia', models.PositiveIntegerField(choices=[(1, 'Matéria'), (2, 'Sessão')], default=1, verbose_name='Ausente em')), |
|
|
|
|
|
('upload_anexo', models.FileField(blank=True, null=True, upload_to=sapl.sessao.models.anexo_upload_path, verbose_name='Anexo de Justificativa')), |
|
|
('parlamentar', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar')), |
|
|
('parlamentar', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='parlamentares.Parlamentar')), |
|
|
('sessao_plenaria', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sessao.SessaoPlenaria', verbose_name='Sessão Plenária')), |
|
|
('sessao_plenaria', models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='sessao.SessaoPlenaria', verbose_name='Sessão Plenária')), |
|
|
], |
|
|
], |