mirror of
https://github.com/django/django.git
synced 2025-12-10 11:25:10 +00:00
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).
This commit is contained in:
parent
9704b0a82e
commit
7e8cf74dc7
31 changed files with 29 additions and 626 deletions
|
|
@ -404,7 +404,7 @@ class InheritanceSameModelNameTests(TransactionTestCase):
|
|||
def test_inheritance_with_same_model_name(self):
|
||||
with self.modify_settings(
|
||||
INSTALLED_APPS={'append': ['model_inheritance.same_model_name']}):
|
||||
call_command('migrate', verbosity=0)
|
||||
call_command('migrate', verbosity=0, run_syncdb=True)
|
||||
from .same_model_name.models import Copy
|
||||
copy = self.title.attached_same_model_name_copy_set.create(
|
||||
content='The Web framework for perfectionists with deadlines.',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue