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:
@@ -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