#13363: extra fields of Model.objects.extra() can't be filtered
--------------------------------------+-------------------------------------
Reporter: fetzig | Owner:
Status: closed | Milestone:
Component: ORM aggregation | Version: SVN
Resolution: wontfix | Keywords: queryset extra filter
Stage: Unreviewed | Has_patch: 0
Needs_docs: 0 | Needs_tests: 0
Needs_better_patch: 0 |
--------------------------------------+-------------------------------------
Changes (by russellm):
* status: reopened => closed
* resolution: => wontfix
Comment:
As Alex notes, this behavior is intentional. extra() is designed for
inserting specific SQL into a query, not as a generic extension mechanism
for the ORM.
It sounds like what you actually want is the ability to include model
annotations that aren't aggregates.
--
Ticket URL: <http://code.djangoproject.com/ticket/13363#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.