1
0
mirror of https://gitlab.crans.org/mediatek/med.git synced 2024-12-27 10:22:25 +00:00
med/users/migrations/0007_adhesion.py

26 lines
788 B
Python
Raw Normal View History

# -*- coding: utf-8 -*-
# Generated by Django 1.11.2 on 2017-07-04 22:00
from __future__ import unicode_literals
from django.conf import settings
from django.db import migrations, models
class Migration(migrations.Migration):
dependencies = [
('users', '0006_clef_commentaire'),
]
operations = [
migrations.CreateModel(
name='Adhesion',
fields=[
('id', models.AutoField(auto_created=True, primary_key=True, serialize=False, verbose_name='ID')),
('annee_debut', models.IntegerField(unique=True)),
('annee_fin', models.IntegerField(unique=True)),
('adherent', models.ManyToManyField(blank=True, null=True, to=settings.AUTH_USER_MODEL)),
],
),
]