Comments (5)
5 years later the above issue was resolved, I can't help but wonder if this is possibly a different issue 🤔
@eriktelepovsky kindly file a separate bug ticket with the details above as well as a traceback; from python logs, or javascript browser console, and any other information you feel relevant 🙏
from django-advanced-filters.
I believe this is intended, can't really recall what for, probably cleanup.
I do believe select2
replaces the select
field into a bunch of elements (and input
is one of them), and they all have the "select2" object attached to them. In other words, this works for me.
Does select2
works well for you everywhere else, such as in initialize_select2
? The same call to destroy is made here too, as well as the init.
Please add some details on your scenario, step by step actions, etc.
from django-advanced-filters.
It crashes on initialize_select2 too.
Step by step
I clone the repo, setup.py install it, migrate, add the settings, add the static files, and add AdminAdvancedFiltersMixin to my admin class.
Really nothing special I think...
I think the query-value may be transformed somewhere in a select list of choices but I don't find where or how.
from django-advanced-filters.
Thanks for the report, I'll attempt to reproduce and get back to you.
from django-advanced-filters.
Issue still exists in current version 1.3.0.
Django==3.1.12
Python 3.9.8
from django-advanced-filters.
Related Issues (20)
- limit_choices_to in models are ignored HOT 1
- Feature request: Allow AND operator to work with M2M relationship HOT 5
- Reduce maintenance burden: drop support for old python & django HOT 1
- Error when using django compressor HOT 1
- js pages auto changes contains operator to equal
- Create locale django.mo files in CI
- Not possible to add another filter in the popup HOT 1
- Support for most recent select2 version
- builtins.AttributeError: 'AdvancedFilterQueryForm' object has no attribute 'cleaned_data' HOT 3
- 'AdvancedFilterQueryForm' object has no attribute 'cleaned_data'
- Saving an advanced filter with an "Or" in it sometimes reorders the "Or" to the last element
- Getting 'This Field is required" error while submitting form for the first time HOT 4
- Modal does not respect dark mode HOT 4
- already existing filter return low result number
- contains does not allow for custom text HOT 1
- Make SimpleJSON optional HOT 1
- But in the documntation and solution
- Only one filter shows field_choices HOT 2
- Avoid redirect when selecting a filter
- Django Compress causes errors HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-advanced-filters.