mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2024-12-28 09:53:47 +00:00
Yoann Piétri
6736caf9f4
Support for django 2.2. Rename django.conf.urlresolvers. Change url to path. Add apps to app folder. Edit migrations for on_delete. Edit models for on_delete. Drop compatibility for django 1.x
52 lines
2.3 KiB
Python
52 lines
2.3 KiB
Python
# Generated by Django 2.2.18 on 2021-02-08 17:27
|
|
|
|
import django.contrib.auth.models
|
|
from django.db import migrations
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('users', '0002_foreign_keys'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.AlterModelOptions(
|
|
name='ban',
|
|
options={'verbose_name': 'ban', 'verbose_name_plural': 'bans'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='emailaddress',
|
|
options={'verbose_name': 'local email account', 'verbose_name_plural': 'local email accounts'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='listright',
|
|
options={'verbose_name': 'group of rights', 'verbose_name_plural': 'groups of rights'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='listshell',
|
|
options={'verbose_name': 'shell', 'verbose_name_plural': 'shells'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='school',
|
|
options={'verbose_name': 'school', 'verbose_name_plural': 'schools'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='serviceuser',
|
|
options={'verbose_name': 'service user', 'verbose_name_plural': 'service users'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='user',
|
|
options={'permissions': (('change_user_password', 'Can change the password of a user'), ('change_user_state', 'Can edit the state of a user'), ('change_user_force', 'Can force the move'), ('change_user_shell', 'Can edit the shell of a user'), ('change_user_pseudo', 'Can edit the pseudo of a user'), ('change_user_groups', 'Can edit the groups of rights of a user (critical permission)'), ('change_all_users', 'Can edit all users, including those with rights')), 'verbose_name': 'user (member or club)', 'verbose_name_plural': 'users (members or clubs)'},
|
|
),
|
|
migrations.AlterModelOptions(
|
|
name='whitelist',
|
|
options={'verbose_name': 'whitelist (free of charge access)', 'verbose_name_plural': 'whitelists (free of charge access)'},
|
|
),
|
|
migrations.AlterModelManagers(
|
|
name='listright',
|
|
managers=[
|
|
('objects', django.contrib.auth.models.GroupManager()),
|
|
],
|
|
),
|
|
]
|