Difference between Q and filter and exclude

2014-12-23 Thread Anssi Kääriäinen
These queries should be equivalent. - Anssi -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, s

Difference between Q and filter and exclude

2014-12-22 Thread Larry Martell
Is there any difference, either functional or performance wise, between these 2 constructs: Q(f=1) and filter(f=1) Or, between these 2: (~Q(f=1)) and exclude(f=1) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group