mirror of
https://github.com/django/django.git
synced 2025-08-03 10:34:04 +00:00
Moved migration exception classes to shared module
Thanks Aymeric Augustin for the review.
This commit is contained in:
parent
3cb386b8c2
commit
811d7870a5
8 changed files with 71 additions and 53 deletions
|
@ -1,10 +1,11 @@
|
|||
from django.apps.registry import Apps
|
||||
from django.db import models
|
||||
from django.db.migrations.exceptions import InvalidBasesError
|
||||
from django.db.migrations.operations import (
|
||||
AddField, AlterField, DeleteModel, RemoveField,
|
||||
)
|
||||
from django.db.migrations.state import (
|
||||
InvalidBasesError, ModelState, ProjectState, get_related_models_recursive,
|
||||
ModelState, ProjectState, get_related_models_recursive,
|
||||
)
|
||||
from django.test import SimpleTestCase, TestCase, override_settings
|
||||
from django.utils import six
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue