#9432: Negation operator missing from Q Objects documentation ---------------------------+------------------------------------------------ Reporter: dchandek | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.0 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ http://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups- with-q-objects
The documentation should state that the unary negation operator "~" can be used on a Q object. The "see also" note which links to http://code.djangoproject.com/browser/django/trunk/tests/modeltests/or_lookups/models.py does provide an example usage of the negation operator. -- Ticket URL: <http://code.djangoproject.com/ticket/9432> 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 django-updates@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---