diff options
author | Tim Graham <timograham@gmail.com> | 2014-12-26 13:56:08 -0500 |
---|---|---|
committer | Tim Graham <timograham@gmail.com> | 2015-01-18 15:58:06 -0500 |
commit | 7e8cf74dc74539f40f4cea53c1e8bba82791fcb6 (patch) | |
tree | ed5ab7926f7856804b062b89326e62b8ee15ff94 /tests/proxy_model_inheritance | |
parent | 9704b0a82e1f1c6ed0118f948a56652594f0a43b (diff) | |
download | django-7e8cf74dc74539f40f4cea53c1e8bba82791fcb6.tar.gz |
Removed support for syncing apps without migrations per deprecation timeline.
Kept support for creating models without migrations when running tests
(especially for Django's test suite).
Diffstat (limited to 'tests/proxy_model_inheritance')
-rw-r--r-- | tests/proxy_model_inheritance/tests.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/proxy_model_inheritance/tests.py b/tests/proxy_model_inheritance/tests.py index 78e3c2607e..3678466e8c 100644 --- a/tests/proxy_model_inheritance/tests.py +++ b/tests/proxy_model_inheritance/tests.py @@ -22,7 +22,7 @@ class ProxyModelInheritanceTests(TransactionTestCase): def test_table_exists(self): with extend_sys_path(os.path.dirname(os.path.abspath(upath(__file__)))): with self.modify_settings(INSTALLED_APPS={'append': ['app1', 'app2']}): - call_command('migrate', verbosity=0) + call_command('migrate', verbosity=0, run_syncdb=True) from app1.models import ProxyModel from app2.models import NiceModel self.assertEqual(NiceModel.objects.all().count(), 0) |