#8375: It's better to allow using tables parameter with custom alias in extra
query
---------------------------------------+------------------------------------
Reporter: Wonlay | Owner: nobody
Status: new | Milestone: post-1.0
Component: Database wrapper | Version: SVN
Resolution: | Keywords: query, extra, tables,
custom alias
Stage: Accepted | Has_patch: 1
Needs_docs: 1 | Needs_tests: 1
Needs_better_patch: 1 |
---------------------------------------+------------------------------------
Comment (by Wonlay):
I totally agree with mtredinnick.[[BR]]
And the join solution do solve my problem.
Maybe this kind of staff should be solved by something like {{{ (qs1 +
qs2) }}}, {{{ (qs1 - qs2) }}}, {{{ (qs1 LEFT JOIN qs2 ON
('qs1__model_field1', 'qs2__model_field2')) }}}, and other cross QuerySet
operations.
Should I close this ticket now?
--
Ticket URL: <http://code.djangoproject.com/ticket/8375#comment:3>
Django Code <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
-~----------~----~----~----~------~----~------~--~---