On Jul 13, 8:36 am, Collin Grady <[EMAIL PROTECTED]> wrote: > Simon requested I bring this up here - I was working through a problem > with a user on IRC, and he noted that Q objects support the bitwise & > and |, but not ~ - if you wanted to negate a Q object, you had to > explicitly import QNot and use that instead. > > As such, the following patch was born, allowing ~q instead of > QNot(q) :) > > http://code.djangoproject.com/ticket/4858
I've had to use the QNot() myself too, and agree that it would be nice to have ~. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@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-developers?hl=en -~----------~----~----~----~------~----~------~--~---