1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

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,9 +1,9 @@
import warnings
from django.db.migrations.graph import (
RECURSION_DEPTH_WARNING, CircularDependencyError, MigrationGraph,
NodeNotFoundError,
from django.db.migrations.exceptions import (
CircularDependencyError, NodeNotFoundError,
)
from django.db.migrations.graph import RECURSION_DEPTH_WARNING, MigrationGraph
from django.test import TestCase
from django.utils.encoding import force_text