39 lines
1.1 KiB
Python
39 lines
1.1 KiB
Python
# -*- coding: utf-8 -*-
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [("kfetauth", "0001_initial")]
|
|
|
|
operations = [
|
|
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",),
|
|
),
|
|
]
|