1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

[1.7.x] Fixed #22823 (and partly #22563) - FKs from unmigrated apps breaking state.

Thanks to bendavis78 for the test and diagnostic work.
This commit is contained in:
Andrew Godwin
2014-06-12 10:21:26 -07:00
parent 84714dfed7
commit 961c9d6c6b
12 changed files with 114 additions and 13 deletions

View File

@@ -0,0 +1,9 @@
# -*- coding: utf-8 -*-
from __future__ import unicode_literals
from django.db import models
class SillyModel(models.Model):
silly_field = models.BooleanField(default=False)
silly_tribble = models.ForeignKey("migrations.Tribble")
is_trouble = models.BooleanField(default=True)