#23219 closed Uncategorized (worksforme)
Manager, QuerySet
Reported by: | Owned by: | nobody | |
---|---|---|---|
Component: | Documentation | Version: | 1.4 |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Unreviewed | |
Has patch: | no | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
Hi guys !!
In documentation about models.manager in query set (https://docs.djangoproject.com/en/dev/topics/db/managers/#calling-custom-queryset-methods-from-the-manager)
example is class PersonQuerySet(models.QuerySet): and when I use.. django give me a erro. When I use class PersonQuerySet(models.query.QuerySet): django work perfect !
Note:
See TracTickets
for help on using tickets.
Hi,
It sounds like you're not reading the documentation that matches the version of Django you're actually using.
Make sure you have the right version by using the version switcher at the bottom right of the page.
I'm closing the ticket as
worksforme
. Feel free to reopen it if that wasn't your issue.THanks