#251: [patch] Add "AND" and "OR" clauses to the SQL query syntax
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: hugo
Type: enhancement | Status: closed
Priority: normal | Milestone: Version 1.0
Component: Metasystem | Version:
Severity: normal | Resolution: fixed
Keywords: |
-----------------------------+----------------------------------------------
Comment (by Jarosław Zabiełło):
There is an error in the example. Instead of
{{{
from django.core.meta import Q
}}}
it should be
{{{
from django.db.models.query import Q
}}}
It is also not clear how to create "NOT AND"... Maybe ^ or ! operator
could be added? E.g.
Q(...) & Q(...) | (Q(...) ^ Q(...))
--
Ticket URL: <http://code.djangoproject.com/ticket/251>
Django <http://code.djangoproject.org/>
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
-~----------~----~----~----~------~----~------~--~---