mirror of
https://gitlab.crans.org/mediatek/med.git
synced 2024-12-05 02:06:55 +00:00
36 lines
1.4 KiB
Python
36 lines
1.4 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.11.22 on 2019-08-08 09:36
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('auth', '0008_alter_user_username_max_length'),
|
||
|
('users', '0021_auto_20190808_1134'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AlterModelOptions(
|
||
|
name='user',
|
||
|
options={'verbose_name': 'user', 'verbose_name_plural': 'users'},
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='user',
|
||
|
name='groups',
|
||
|
field=models.ManyToManyField(blank=True, help_text='The groups this user belongs to. A user will get all permissions granted to each of their groups.', related_name='user_set', related_query_name='user', to='auth.Group', verbose_name='groups'),
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='user',
|
||
|
name='is_superuser',
|
||
|
field=models.BooleanField(default=False, help_text='Designates that this user has all permissions without explicitly assigning them.', verbose_name='superuser status'),
|
||
|
),
|
||
|
migrations.AddField(
|
||
|
model_name='user',
|
||
|
name='user_permissions',
|
||
|
field=models.ManyToManyField(blank=True, help_text='Specific permissions for this user.', related_name='user_set', related_query_name='user', to='auth.Permission', verbose_name='user permissions'),
|
||
|
),
|
||
|
]
|