0004_politician_user.py 582 B

1234567891011121314151617181920212223
  1. # -*- coding: utf-8 -*-
  2. from __future__ import unicode_literals
  3. from django.db import models, migrations
  4. from django.conf import settings
  5. class Migration(migrations.Migration):
  6. dependencies = [
  7. migrations.swappable_dependency(settings.AUTH_USER_MODEL),
  8. ('core', '0003_auto_20150521_0856'),
  9. ]
  10. operations = [
  11. migrations.AddField(
  12. model_name='politician',
  13. name='user',
  14. field=models.ForeignKey(default=1, verbose_name='user', to=settings.AUTH_USER_MODEL),
  15. preserve_default=False,
  16. ),
  17. ]