2017-09-13 01:57:31 +02:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
|
|
|
|
dependencies = [
|
|
|
|
('auth', '0006_require_contenttypes_0002'),
|
2017-09-21 23:39:27 +02:00
|
|
|
# Following dependency allows using Account model to set up the kfet
|
|
|
|
# generic user in post_migrate receiver.
|
|
|
|
('kfet', '0058_delete_genericteamtoken'),
|
2017-09-13 01:57:31 +02:00
|
|
|
]
|
|
|
|
|
|
|
|
operations = [
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='GenericTeamToken',
|
|
|
|
fields=[
|
|
|
|
('id', models.AutoField(verbose_name='ID', auto_created=True, serialize=False, primary_key=True)),
|
|
|
|
('token', models.CharField(unique=True, max_length=50)),
|
|
|
|
],
|
|
|
|
),
|
2017-09-26 22:18:39 +02:00
|
|
|
migrations.CreateModel(
|
|
|
|
name='Group',
|
|
|
|
fields=[
|
|
|
|
('group_ptr', models.OneToOneField(parent_link=True, serialize=False, primary_key=True, auto_created=True, to='auth.Group')),
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'verbose_name': 'Groupe',
|
|
|
|
'verbose_name_plural': 'Groupes',
|
|
|
|
},
|
|
|
|
bases=('auth.group',),
|
|
|
|
),
|
|
|
|
migrations.CreateModel(
|
|
|
|
name='Permission',
|
|
|
|
fields=[
|
|
|
|
],
|
|
|
|
options={
|
|
|
|
'verbose_name': 'Permission',
|
|
|
|
'verbose_name_plural': 'Permissions',
|
|
|
|
'proxy': True,
|
|
|
|
},
|
|
|
|
bases=('auth.permission',),
|
|
|
|
),
|
2017-09-13 01:57:31 +02:00
|
|
|
]
|