django-advanced-filters
django-advanced-filters copied to clipboard
Add advanced filtering abilities to Django admin
**Describe the bug** The first filter has drop down menu even if the type of the field is text, causing the value to disappear when: Adding another filter or saving...
Hello! I have custom User model, which inherits AbstractBaseUser and doesn't have Group relation. So when i use filter mixin, i get this exception: ```python Traceback (most recent call last):...
When created a filter with contains operator and tries to open it for edit, the operator is showing as an equal operator and that is being saved in DB as...
**Describe the bug** Getting the following error when using compressor with django advanced filters: ``` Compressing... Error parsing template /Users/vitormhenrique/opt/anaconda3/envs/sr/lib/python3.8/site-packages/advanced_filters/templates/admin/advanced_filters.html: Invalid template name in 'extends' tag: ''. Got this from...
Currently the requirement for package is django-braces3.0 doesn't support six anymore. I bumped up django-braces to 1.14.0 and it works fine but still who knows... haha please look into this...
**Describe the bug** When invalid args are given to URL `field_choices/...`, especially a model which doesnt include a `.`, the logic raises an exception. This occurs for example when a...
**Describe the bug** I have a "follower" object, with many to many language field have "he" and "ar". I choose "he" and not "ar":  But I did find Arabic...
I'm curious why `queryset.filter(query).distinct()` is used instead of `queryset.filter(query)` in AdvancedListFilters class. It is affecting the query performance quite a lot. For my setup, sql query to fetch items for...
Is it possible to create a custom list filter for advanced_filter_fields? I have a field property in my model that I would like to search for. Thanks ! :)
This merge request allows the select2 widget to pre-populate with the current value. It should also fix [Issue 22](https://github.com/modlinltd/django-advanced-filters/issues/22). There is a side effect to how I fixed this, which...