summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/another_app_waiting_migration/models.py
diff options
context:
space:
mode:
authorEmre Yilmaz <mail@emreyilmaz.me>2015-12-03 18:51:39 +0200
committerTim Graham <timograham@gmail.com>2015-12-21 12:54:29 -0500
commit63a6a653d4282f74e35582d41ca507139c9cfbe1 (patch)
tree51488cfd102ba5ea4858415aa60ecb6bee5eff9f /tests/admin_scripts/another_app_waiting_migration/models.py
parent541000773a19d829a46fd4bec3655dca38a95551 (diff)
Fixed #25855 -- Enhanced the migration warning for runserver.
Added unapplied migration count and the list of unmigrated apps.
Diffstat (limited to 'tests/admin_scripts/another_app_waiting_migration/models.py')
-rw-r--r--tests/admin_scripts/another_app_waiting_migration/models.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/admin_scripts/another_app_waiting_migration/models.py b/tests/admin_scripts/another_app_waiting_migration/models.py
new file mode 100644
index 0000000000..6c12c6ab5d
--- /dev/null
+++ b/tests/admin_scripts/another_app_waiting_migration/models.py
@@ -0,0 +1,10 @@
+from __future__ import unicode_literals
+
+from django.db import models
+
+
+class Foo(models.Model):
+ name = models.CharField(max_length=255)
+
+ class Meta:
+ app_label = 'another_app_waiting_migration'