Code

Opened 8 years ago

Closed 8 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
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:

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

Attachments (0)

Change History (4)

comment:1 Changed 8 years ago by anonymous

  • milestone Version 0.92 deleted
  • Version SVN deleted

comment:2 Changed 8 years ago by anonymous

  • Type changed from defect to enhancement

comment:3 Changed 8 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 8 years ago by adrian

  • Resolution set to wontfix
  • Status changed from new to closed

Closing as wontfix for reason stated in previous comment.

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.