From 63a6a653d4282f74e35582d41ca507139c9cfbe1 Mon Sep 17 00:00:00 2001 From: Emre Yilmaz Date: Thu, 3 Dec 2015 18:51:39 +0200 Subject: Fixed #25855 -- Enhanced the migration warning for runserver. Added unapplied migration count and the list of unmigrated apps. --- tests/admin_scripts/another_app_waiting_migration/models.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 tests/admin_scripts/another_app_waiting_migration/models.py (limited to 'tests/admin_scripts/another_app_waiting_migration/models.py') 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' -- cgit v1.3