mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-11-04 00:52:49 +00:00
d26d912328
Fix #329. BREAKING CHANGE: you need to define the proper router in re2o/settings_locals.py for LDAP to continue working properly. See re2o/settings_locals.example.py.
72 lines
2.9 KiB
Python
72 lines
2.9 KiB
Python
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.29 on 2020-12-30 15:27
|
|
from __future__ import unicode_literals
|
|
|
|
from django.conf import settings
|
|
from django.db import migrations, models
|
|
import django.db.models.deletion
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('auth', '0008_alter_user_username_max_length'),
|
|
('topologie', '0001_model_creation'),
|
|
('users', '0001_model_creation'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AddField(
|
|
model_name='adherent',
|
|
name='room',
|
|
field=models.OneToOneField(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='topologie.Room'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='ban',
|
|
name='user',
|
|
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AddField(
|
|
model_name='club',
|
|
name='administrators',
|
|
field=models.ManyToManyField(blank=True, related_name='club_administrator', to='users.Adherent'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='club',
|
|
name='members',
|
|
field=models.ManyToManyField(blank=True, related_name='club_members', to='users.Adherent'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='club',
|
|
name='room',
|
|
field=models.ForeignKey(blank=True, null=True, on_delete=django.db.models.deletion.PROTECT, to='topologie.Room'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='emailaddress',
|
|
name='user',
|
|
field=models.ForeignKey(default=None, help_text='User of the local email account.', on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AddField(
|
|
model_name='request',
|
|
name='user',
|
|
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.CASCADE, to=settings.AUTH_USER_MODEL),
|
|
preserve_default=False,
|
|
),
|
|
migrations.AddField(
|
|
model_name='user',
|
|
name='school',
|
|
field=models.ForeignKey(blank=True, help_text='Education institute.', null=True, on_delete=django.db.models.deletion.PROTECT, to='users.School'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='user',
|
|
name='shell',
|
|
field=models.ForeignKey(blank=True, help_text='Unix shell.', null=True, on_delete=django.db.models.deletion.PROTECT, to='users.ListShell'),
|
|
),
|
|
migrations.AddField(
|
|
model_name='whitelist',
|
|
name='user',
|
|
field=models.ForeignKey(default=None, on_delete=django.db.models.deletion.PROTECT, to=settings.AUTH_USER_MODEL),
|
|
preserve_default=False,
|
|
),
|
|
]
|