Opened 19 years ago

Closed 19 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: no UI/UX: no

Description

example:
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 by anonymous, 19 years ago

milestone: Version 0.92
Version: SVN

comment:2 by anonymous, 19 years ago

Type: defectenhancement

comment:3 by nirvdrum, 19 years ago

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

comment:4 by Adrian Holovaty, 19 years ago

Resolution: wontfix
Status: newclosed

Closing as wontfix for reason stated in previous comment.

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