1 | # -*- coding: utf-8 -*-
|
---|
2 | from __future__ import unicode_literals
|
---|
3 |
|
---|
4 | from django.db import models, migrations
|
---|
5 | from django.conf import settings
|
---|
6 |
|
---|
7 |
|
---|
8 | class Migration(migrations.Migration):
|
---|
9 |
|
---|
10 | dependencies = [
|
---|
11 | ('accounts', '0001_initial'),
|
---|
12 | ]
|
---|
13 |
|
---|
14 | operations = [
|
---|
15 | migrations.RemoveField(
|
---|
16 | model_name='userprofile',
|
---|
17 | name='id',
|
---|
18 | ),
|
---|
19 |
|
---|
20 | migrations.AlterField(
|
---|
21 | model_name='userprofile',
|
---|
22 | name='user',
|
---|
23 | field=models.OneToOneField(primary_key=True, serialize=False, to=settings.AUTH_USER_MODEL),
|
---|
24 | preserve_default=True,
|
---|
25 | ),
|
---|
26 | ]
|
---|