Opened 9 years ago

Closed 9 years ago

#4173 closed (invalid)

attribute selection for QuerySets

Reported by: Jean-Pierre Chauvel <jchauvel@…> Owned by: Adrian Holovaty
Component: Database layer (models, ORM) Version: master
Severity: Keywords: select fields
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Would be nice to see in upcoming versions some way to select model attributes and formulas in QuerySet objects.

Change History (3)

comment:1 Changed 9 years ago by Jean-Pierre Chauvel <jchauvel@…>

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

Please make include ways to do aggregation with QuerySet objects

comment:2 Changed 9 years ago by Collin Grady <cgrady@…>

Select attributes? Like .values() ?

comment:3 Changed 9 years ago by Russell Keith-Magee

Resolution: invalid
Status: newclosed

This feature already exists as values(). If you have a specific suggestion that values() doesn't cover, you will need to provide more details in the ticket.

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