When running $ manage.py makemigrations, it seems to generate additional migration for default app with content:
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models, migrations
from django.conf import settings
class Migration(migrations.Migration):
dependencies = [
('default', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='usersocialauth',
name='user',
field=models.ForeignKey(to=settings.AUTH_USER_MODEL, related_name='social_auth'),
preserve_default=True,
),
]
The cause is probably the addition of related_name to a user field which is not represented in the initial migration.
When I manually adjusted the initial migration to include the related_name field, django seemed to treat it just fine.
When running
$ manage.py makemigrations, it seems to generate additional migration fordefaultapp with content:The cause is probably the addition of
related_nameto auserfield which is not represented in the initial migration.When I manually adjusted the initial migration to include the related_name field, django seemed to treat it just fine.