Hi,

Is there any way to negate filtering with the django-filter package which
lookup expression sent via url query, such as:

http://example.com/?name__not_contains=john


The request above has to be passed through the django filterset class and
the class has to be returned with the queryset exclude query with name
argument and "john" value.

Something like:

self.queryset.exclude(name="john")

Kind regards,
Sencer HAMARAT

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACp8TZg0QFj2kST7m%3DoM4AoS3%3D3DOBhTm0MzDpJvLup_woYEYQ%40mail.gmail.com.

Reply via email to