Skip to content

Commit c4d0370

Browse files
committed
cleanup future imports, take six from future.utils too.
1 parent 753db7a commit c4d0370

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

polymorphic_tree/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
"""
22
Model that inherits from both Polymorphic and MPTT.
33
"""
4+
from future.utils import with_metaclass
5+
from future.utils.six import integer_types
46
from django.core.exceptions import ValidationError
57
from django.utils.translation import ugettext_lazy as _
6-
from django.utils.six import integer_types
78
from mptt.models import MPTTModel, MPTTModelBase, TreeForeignKey
89
from polymorphic import PolymorphicModel
910
from polymorphic.base import PolymorphicModelBase
1011
from polymorphic_tree.managers import PolymorphicMPTTModelManager
11-
from future.utils import with_metaclass
1212

1313
def _get_base_polymorphic_model(ChildModel):
1414
"""

0 commit comments

Comments
 (0)