added test
This commit is contained in:
parent
45730e4eb1
commit
3b387d61db
7 changed files with 86 additions and 27 deletions
20
membership/migrations/0005_customuser_is_admin.py
Normal file
20
membership/migrations/0005_customuser_is_admin.py
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
# Generated by Django 1.9.4 on 2016-05-01 15:38
|
||||
from __future__ import unicode_literals
|
||||
|
||||
from django.db import migrations, models
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
||||
dependencies = [
|
||||
('membership', '0004_stripecustomer'),
|
||||
]
|
||||
|
||||
operations = [
|
||||
migrations.AddField(
|
||||
model_name='customuser',
|
||||
name='is_admin',
|
||||
field=models.BooleanField(default=False, help_text='Designates whether the user can log into this admin site.', verbose_name='staff status'),
|
||||
),
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue