1
Use queries to get the PKs of the records you want to exclude, then exclude them in your primary query (.exclude(pk__in=...)
),
Source:stackexchange.com
1
Use queries to get the PKs of the records you want to exclude, then exclude them in your primary query (.exclude(pk__in=...)
),