Opened 8 years ago
Last modified 8 years ago
#29032 closed Bug
Docs example for expressions in QuerySet.values() doesn't work — at Version 1
| Reported by: | Tim Graham | Owned by: | nobody |
|---|---|---|---|
| Component: | Documentation | Version: | 1.11 |
| Severity: | Normal | Keywords: | |
| Cc: | Ian Foote | Triage Stage: | Ready for checkin |
| Has patch: | yes | Needs documentation: | no |
| Needs tests: | no | Patch needs improvement: | no |
| Easy pickings: | no | UI/UX: | no |
Description (last modified by )
The Blog.objects.values('author', entries=Count('entry')) example added in 39f35d4b9de223b72c67bb1d12e65669b4e1355b crashes with FieldError: Cannot resolve keyword 'author' into field..
(reported django-users)
Note:
See TracTickets
for help on using tickets.