We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 753db7a commit c4d0370Copy full SHA for c4d0370
polymorphic_tree/models.py
@@ -1,14 +1,14 @@
1
"""
2
Model that inherits from both Polymorphic and MPTT.
3
4
+from future.utils import with_metaclass
5
+from future.utils.six import integer_types
6
from django.core.exceptions import ValidationError
7
from django.utils.translation import ugettext_lazy as _
-from django.utils.six import integer_types
8
from mptt.models import MPTTModel, MPTTModelBase, TreeForeignKey
9
from polymorphic import PolymorphicModel
10
from polymorphic.base import PolymorphicModelBase
11
from polymorphic_tree.managers import PolymorphicMPTTModelManager
-from future.utils import with_metaclass
12
13
def _get_base_polymorphic_model(ChildModel):
14
0 commit comments