Opened 6 years ago

Last modified 6 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 Tim Graham)

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

comment:1 by Tim Graham, 6 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.
Back to Top