#7231: New "join" parameter for the "extra" QuerySet method
---------------------------------------------------+------------------------
Reporter: Davide "Design" Muzzarelli | Owner: nobody
Status: closed | Milestone:
Component: Database layer (models, ORM) | Version: SVN
Resolution: wontfix | Keywords: queryset
extra left join
Stage: Design decision needed | Has_patch: 1
Needs_docs: 1 | Needs_tests: 1
Needs_better_patch: 1 |
---------------------------------------------------+------------------------
Changes (by bendavis78):
* cc: [email protected] (added)
Comment:
Adding my vote for re-opening this patch. I've been using this patch for
nearly two years, and have found it to be useful in several different
cases. I agree with jonozzz that it completes the .extra() functionality,
and allows for more flexibility than raw() can provide. For example, if
I'm dynamically building my query using django, and I need to add custom
joins to the existing queryset, it's much cleaner to use .extra() instead
of .raw().
--
Ticket URL: <http://code.djangoproject.com/ticket/7231#comment:15>
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.