#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: Accepted | Has patch: 1
Needs documentation: 0 | Needs tests: 1
Patch needs improvement: 1 |
-------------------------------------+-------------------------------------
Changes (by adrian):
* needs_better_patch: 0 => 1
* needs_tests: 0 => 1
* stage: Unreviewed => Accepted
Comment:
I like the idea of introducing a {{{QuerySet}}} that returns named tuples!
Not crazy about the name, but I can't think of a better one at the moment.
Can you create an actual .patch file, include unit tests and include a
fallback namedtuple implementation for our Python 2.4/2.5 users? A good
place for that would be in {{{django/utils/datastructures.py}}}.
--
Ticket URL: <http://code.djangoproject.com/ticket/15648#comment:4>
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.