#29032 closed Bug (fixed)
Docs example for expressions in QuerySet.values() doesn't work
Reported by: | Tim Graham | Owned by: | Mariusz Felisiak |
---|---|---|---|
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)
Change History (6)
comment:1 by , 7 years ago
Description: | modified (diff) |
---|
comment:2 by , 7 years ago
Has patch: | set |
---|---|
Owner: | changed from | to
Status: | new → assigned |
comment:3 by , 7 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
Note:
See TracTickets
for help on using tickets.
PR