Opened 6 years ago

Last modified 6 years ago

#29032 closed Bug

Docs example for expressions in QuerySet.values() doesn't work — at Initial Version

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

The Blog.objects.values('author', entries=Count('entry')) example crashes with FieldError: Cannot resolve keyword 'author' into field..

(reported django-users)

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top