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:
1 parent
6a86a5ce91
commit
c48d4f589b
4 files changed
+224
-238
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user