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 exclu
you can write custom filtering classes and methods using Django filters.
There you can define fields and methods according to your use case
example:
https://stackoverflow.com/questions/43009538/use-custom-filter-with-django-modelchoice-filter
On Tue, 31 May 2022 at 19:16, Sencer Hamarat
wrote:
>
2 matches
Mail list logo