Whoops, add the migration for altering the user avatar field
This commit is contained in:
parent
c0d0fb6179
commit
0e3ef423d2
1 changed files with 21 additions and 0 deletions
21
users/migrations/0002_auto_20171023_0109.py
Normal file
21
users/migrations/0002_auto_20171023_0109.py
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
# -*- coding: utf-8 -*-
|
||||||
|
# Generated by Django 1.11.6 on 2017-10-23 01:09
|
||||||
|
from __future__ import unicode_literals
|
||||||
|
|
||||||
|
from django.db import migrations, models
|
||||||
|
import users.models
|
||||||
|
|
||||||
|
|
||||||
|
class Migration(migrations.Migration):
|
||||||
|
|
||||||
|
dependencies = [
|
||||||
|
('users', '0001_initial'),
|
||||||
|
]
|
||||||
|
|
||||||
|
operations = [
|
||||||
|
migrations.AlterField(
|
||||||
|
model_name='user',
|
||||||
|
name='avatar',
|
||||||
|
field=models.ImageField(upload_to=users.models.avatar_path),
|
||||||
|
),
|
||||||
|
]
|
Loading…
Reference in a new issue