32 lines
1.3 KiB
Python
32 lines
1.3 KiB
Python
|
# -*- coding: utf-8 -*-
|
||
|
# Generated by Django 1.9.4 on 2016-05-26 04:45
|
||
|
from __future__ import unicode_literals
|
||
|
|
||
|
from django.db import migrations, models
|
||
|
|
||
|
|
||
|
class Migration(migrations.Migration):
|
||
|
|
||
|
dependencies = [
|
||
|
('auth', '0007_alter_validators_add_error_messages'),
|
||
|
('membership', '0005_customuser_is_admin'),
|
||
|
]
|
||
|
|
||
|
operations = [
|
||
|
migrations.AddField(
|
||
|
model_name='customuser',
|
||
|
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='customuser',
|
||
|
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='customuser',
|
||
|
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'),
|
||
|
),
|
||
|
]
|