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: | 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 , 19 years ago
| milestone: | Version 0.92 |
|---|---|
| Version: | SVN |
comment:2 by , 19 years ago
| Type: | defect → enhancement |
|---|
comment:3 by , 19 years ago
comment:4 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
Closing as wontfix for reason stated in previous comment.
Note:
See TracTickets
for help on using tickets.
In my experience, relying on the position to always be the same is a disaster waiting to happen.