-
Notifications
You must be signed in to change notification settings - Fork 770
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Enhancement: A easier way to filter with exclude=True #1557
Comments
To be precise, I want to automatically generate suffix of all lookup with or without exclude |
Hello, I have recently started used django-fliters and also stumbled upon this. I have written some minimal mixins which enable this behavior on django-filters (tested on DRF, not sure if compatible at all with forms). You can find them here https://github.com/WhiteSage/django-filter-autotools . |
I invested sometime to analysed and do a extension to have automagically exclude on any lookup. Posted the snnipets here |
is it possible to auto generate [field_name]__not__[lookup] filter ?
The text was updated successfully, but these errors were encountered: