feature/fix_generate_pass
parent
a1841effbd
commit
c18b5d556f
8 changed files with 168 additions and 17 deletions
@ -0,0 +1,20 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.11.6 on 2017-11-19 17:36 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations, models |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('access', '0008_auto_20171117_1113'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.AlterField( |
||||
model_name='account', |
||||
name='photo', |
||||
field=models.ImageField(blank=True, default='/static/default/access/default.png', null=True, upload_to='user/photo/'), |
||||
), |
||||
] |
||||
@ -0,0 +1,29 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.11.6 on 2017-11-20 12:34 |
||||
from __future__ import unicode_literals |
||||
|
||||
import access.models |
||||
from django.db import migrations |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('access', '0009_auto_20171119_1736'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.CreateModel( |
||||
name='Teacher', |
||||
fields=[ |
||||
], |
||||
options={ |
||||
'proxy': True, |
||||
'indexes': [], |
||||
}, |
||||
bases=('access.user',), |
||||
managers=[ |
||||
('objects', access.models.CustomUserManager()), |
||||
], |
||||
), |
||||
] |
||||
@ -0,0 +1,18 @@ |
||||
# -*- coding: utf-8 -*- |
||||
# Generated by Django 1.11.6 on 2017-11-20 12:37 |
||||
from __future__ import unicode_literals |
||||
|
||||
from django.db import migrations |
||||
|
||||
|
||||
class Migration(migrations.Migration): |
||||
|
||||
dependencies = [ |
||||
('access', '0010_teacher'), |
||||
] |
||||
|
||||
operations = [ |
||||
migrations.DeleteModel( |
||||
name='Teacher', |
||||
), |
||||
] |
||||
Loading…
Reference in new issue