[Django]-Differences between Q and exclude in Django filter

4👍

There is in fact no difference at all, not even performance. Both evaluate to the exact same query; they’re just different ways of spelling the same thing.

Leave a comment