Update managers.rst

The PolymorphicManager must be instanciated
fix_request_path_info
Cornut Matthieu 2018-03-13 17:11:24 +01:00 committed by GitHub
parent d3f044871b
commit 09c50a55c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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)()
...