Moved migration exception classes to shared module

Thanks Aymeric Augustin for the review.
This commit is contained in:
Markus Holtermann 2015-05-01 20:46:07 +02:00
parent 3cb386b8c2
commit 811d7870a5
8 changed files with 71 additions and 53 deletions

View file

@ -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