Opened 12 years ago

Closed 12 years ago

#2110 closed enhancement (wontfix)

It should be nice if values() method or new one return a plain list of lists, not list of dictionaries

Reported by: ludmiloff@… Owned by: Adrian Holovaty
Component: Database layer (models, ORM) Version:
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:


Article.objects.values('name', 'author') return a list of dictionaries, but often I already know the field order and needd a list of lists or tupples

Change History (4)

comment:1 Changed 12 years ago by anonymous

milestone: Version 0.92
Version: SVN

comment:2 Changed 12 years ago by anonymous

Type: defectenhancement

comment:3 Changed 12 years ago by nirvdrum

In my experience, relying on the position to always be the same is a disaster waiting to happen.

comment:4 Changed 12 years ago by Adrian Holovaty

Resolution: wontfix
Status: newclosed

Closing as wontfix for reason stated in previous comment.

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