Revision c8922d01
ID | c8922d016637eb62f62f84807d1fc2345947defa |
snf_django: Properly chain `exclude' queries
Although chained filters, e.g. filter(p1).filter(p2), can be summed up as
filter(p1, p2), this is not the case with exclude. If you want to exclude
those selected by p1 as well as those selected by p2, you need
exclude(p1).exclude(p2).
Files
- added
- modified
- copied
- renamed
- deleted