You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
# -*- coding: utf-8 -*-
|
|
# Generated by Django 1.11.6 on 2017-10-13 12:22
|
|
from __future__ import unicode_literals
|
|
|
|
from django.db import migrations, models
|
|
|
|
|
|
class Migration(migrations.Migration):
|
|
|
|
dependencies = [
|
|
('access', '0004_auto_20171013_1200'),
|
|
]
|
|
|
|
operations = [
|
|
migrations.RemoveField(
|
|
model_name='user',
|
|
name='phone',
|
|
),
|
|
migrations.RemoveField(
|
|
model_name='user',
|
|
name='photo',
|
|
),
|
|
migrations.AddField(
|
|
model_name='account',
|
|
name='phone',
|
|
field=models.CharField(blank=True, max_length=15),
|
|
),
|
|
migrations.AddField(
|
|
model_name='account',
|
|
name='photo',
|
|
field=models.ImageField(blank=True, default='user/photo/default_avatar.png', null=True, upload_to='user/photo/'),
|
|
),
|
|
migrations.AlterField(
|
|
model_name='account',
|
|
name='gender',
|
|
field=models.SmallIntegerField(choices=[(1, 'male'), (0, 'undefined'), (2, 'female')], default=0),
|
|
),
|
|
]
|
|
|