Don't import models and managers in __init__

This is deprecated as of django 1.8, and does not work as of django 1.9.
This commit is contained in:
Hugo Osvaldo Barrera
2015-10-21 22:11:06 -03:00
parent 6a86a5ce91
commit c48d4f589b
4 changed files with 224 additions and 238 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
from django.db import models
from polymorphic import PolymorphicModel, PolymorphicManager, PolymorphicQuerySet
from polymorphic.models import PolymorphicModel
from polymorphic.showfields import ShowFieldContent, ShowFieldType, ShowFieldTypeAndContent
class Project(ShowFieldContent, PolymorphicModel):