Refs #26605 -- Isolated a migrations state test.

This commit is contained in:
Tim Graham 2017-04-10 08:13:45 -04:00 committed by GitHub
parent b906c3db63
commit eb9a3bd63a
1 changed files with 4 additions and 0 deletions

View File

@ -1017,6 +1017,10 @@ class ModelStateTests(SimpleTestCase):
class SearchableLocation(models.Model): class SearchableLocation(models.Model):
keywords = models.CharField(max_length=256) keywords = models.CharField(max_length=256)
class Meta:
app_label = 'migrations'
apps = new_apps
class Station(SearchableLocation): class Station(SearchableLocation):
name = models.CharField(max_length=128) name = models.CharField(max_length=128)