#15648: [Feature request] NamedTupleQuerySet
-------------------------------------+-------------------------------------
Reporter: pbagwl | Owner: nobody
Status: new | Milestone: 1.4
Component: Database | Version: SVN
layer (models, ORM) | Keywords: namedtuple, tuple,
Resolution: | queryset
Triage Stage: | Has patch: 1
Unreviewed | Needs tests: 0
Needs documentation: 0 |
Patch needs improvement: 0 |
-------------------------------------+-------------------------------------
Comment (by pbagwl):
Replying to [comment:2 me@…]:
> Why not
> {{{
> Item.objects.all().only(*names_list)
> }}}
> ?
1. repr(). values / values lists etc. are much easier to debug.
2. deferred objects (only creates them) are not iterables
--
Ticket URL: <http://code.djangoproject.com/ticket/15648#comment:3>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/django-updates?hl=en.