Update managers.rst

The PolymorphicManager must be instanciated
This commit is contained in:
Cornut Matthieu
2018-03-13 17:11:24 +01:00
committed by GitHub
parent d3f044871b
commit 09c50a55c9
+1 -1
View File
@@ -83,5 +83,5 @@ instead of Django's QuerySet as the base class::
...
class MyModel(PolymorphicModel):
my_objects = PolymorphicManager.from_queryset(MyQuerySet)
my_objects = PolymorphicManager.from_queryset(MyQuerySet)()
...