mirror of https://github.com/interlegis/sapl.git
Eduardo Calil
9 years ago
6 changed files with 189 additions and 7 deletions
@ -0,0 +1,37 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.5 on 2016-06-28 15:51 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.conf import settings |
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
import sapl.materia.models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('auth', '0007_alter_validators_add_error_messages'), |
|||
migrations.swappable_dependency(settings.AUTH_USER_MODEL), |
|||
('materia', '0038_auto_20160612_1506'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AddField( |
|||
model_name='autor', |
|||
name='email', |
|||
field=models.EmailField(default=' ', max_length=254, verbose_name='Email'), |
|||
preserve_default=False, |
|||
), |
|||
migrations.AddField( |
|||
model_name='autor', |
|||
name='grupo_usuario', |
|||
field=models.ForeignKey(default=sapl.materia.models.grupo_autor, on_delete=django.db.models.deletion.CASCADE, to='auth.Group'), |
|||
), |
|||
migrations.AddField( |
|||
model_name='autor', |
|||
name='user', |
|||
field=models.ForeignKey(default=1, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL), |
|||
preserve_default=False, |
|||
), |
|||
] |
@ -0,0 +1,21 @@ |
|||
# -*- coding: utf-8 -*- |
|||
# Generated by Django 1.9.5 on 2016-06-28 15:47 |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('parlamentares', '0022_auto_20160624_1124'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='sessaolegislativa', |
|||
name='legislatura', |
|||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='parlamentares.Legislatura', verbose_name='Legislatura'), |
|||
), |
|||
] |
Loading…
Reference in new issue