1
0
mirror of https://github.com/django/django.git synced 2024-12-26 02:56:25 +00:00

Fixed #24658 -- Added missing Meta attribute in schema tests

Without that, the Note model would be initially created and then
the tests using that model failed when run in isolation.
This commit is contained in:
Claude Paroz 2015-04-19 00:05:58 +02:00
parent d5a0accaa0
commit f54c0ec06e

View File

@ -83,6 +83,9 @@ class BookWithSlug(models.Model):
class Note(models.Model): class Note(models.Model):
info = models.TextField() info = models.TextField()
class Meta:
apps = new_apps
class Tag(models.Model): class Tag(models.Model):
title = models.CharField(max_length=255) title = models.CharField(max_length=255)