mirror of https://gitlab.federez.net/re2o/re2o
27 changed files with 140 additions and 6 deletions
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('cotisations', '0009_remove_cotisation_user'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='article', |
|||
name='duration', |
|||
field=models.IntegerField(null=True, help_text='Durée exprimée en mois entiers', blank=True), |
|||
), |
|||
] |
|||
@ -0,0 +1,19 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('cotisations', '0010_auto_20160702_1840'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterField( |
|||
model_name='cotisation', |
|||
name='date_start', |
|||
field=models.DateTimeField(), |
|||
), |
|||
] |
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,30 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
import django.db.models.deletion |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('users', '0002_auto_20160630_2301'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.CreateModel( |
|||
name='ListRights', |
|||
fields=[ |
|||
('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), |
|||
('listright', models.CharField(max_length=255)), |
|||
], |
|||
), |
|||
migrations.CreateModel( |
|||
name='Rights', |
|||
fields=[ |
|||
('id', models.AutoField(serialize=False, primary_key=True, auto_created=True, verbose_name='ID')), |
|||
('right', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='users.ListRights')), |
|||
('user', models.ForeignKey(on_delete=django.db.models.deletion.PROTECT, to='users.User')), |
|||
], |
|||
), |
|||
] |
|||
@ -0,0 +1,22 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('users', '0003_listrights_rights'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.RenameModel( |
|||
old_name='ListRights', |
|||
new_name='ListRight', |
|||
), |
|||
migrations.RenameModel( |
|||
old_name='Rights', |
|||
new_name='Right', |
|||
), |
|||
] |
|||
@ -0,0 +1,18 @@ |
|||
# -*- coding: utf-8 -*- |
|||
from __future__ import unicode_literals |
|||
|
|||
from django.db import migrations, models |
|||
|
|||
|
|||
class Migration(migrations.Migration): |
|||
|
|||
dependencies = [ |
|||
('users', '0004_auto_20160701_2312'), |
|||
] |
|||
|
|||
operations = [ |
|||
migrations.AlterUniqueTogether( |
|||
name='right', |
|||
unique_together=set([('user', 'right')]), |
|||
), |
|||
] |
|||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue