Comments (6)
This is fixed now, works in Django 5 as well. Release coming shortly.
from django-ajax-selects.
Works well! Thank You, Chris!
from django-ajax-selects.
What changed? Something must have changed, resulting in it no longer working.
Did you update Django, django-ajax-selects or any of your connecting code?
from django-ajax-selects.
I don't know. I tried to find reason several days. I tried in my app downgrade django version 4.1.5 -> 4.0.2 and django-ajax-select to 2.0.0. Nothing changed.
Then I installed in new virtual environment example app from django-ajax-select git and it's also not working with Django 4.1.5 nor 4.0.2. Something wrong with sending back data to admin from popup window. I looked from DOM, for example if I choose from existing items, it looks pk correctly in in "|pk|" but if I add new item it places value without "|". If I choosed previously several items it show in DOM "|pk1|pk2|" but if I try to add new, it replaces it with "pk3" (not "|pk1|pk2|pk3|". My javascript skills are weak but maybe something related with new version of "RelatedObjectLookups.js" in django admin js pack.
from django-ajax-selects.
Little update. I managed get it back work. Rolled back Django 4.1.5 -> 4.0.10. Removed from static admin js/css, made python manage.py collectstatic, restarted server and refreshed (shift+F5) admin page. Now everything works nice again!
Tested with django-ajax-selects "example" app. It's works with 4.0.2, 4.0.5 and 4.0.10 neither with 4.1.0 or 4.1.5.
from django-ajax-selects.
Ok thanks for discovering the exact version that triggers it.
I should be able to fix, perhaps next week. I'm just returning from vacation.
from django-ajax-selects.
Related Issues (20)
- Warning a parser-blocking crose site script HOT 4
- How to customize Widger from textbox to dropdownlist HOT 3
- Problems to implement add button outside the admin HOT 3
- Autocomplete using `inlineformset_factory`
- Documentation & example code using different urls.py HOT 1
- Issue with wagtail fields after updating from 1.7 => 1.8 HOT 2
- Django-ajax-selects and Django Rest Framework HOT 1
- Not sure what Tag is. HOT 1
- bug? add new item, initialize inline item with django-nested-admin HOT 4
- In Django 4.2 admin the search-field is displayed wrong (too large and beside item-list) HOT 3
- Admin in dark mode = trash/delete/remove icon invisible HOT 6
- How add to ajax request additional GET params? HOT 2
- Update documentation for Django 4.2
- the 3.0.0 release broke 2.2.0 for older python HOT 13
- v3.0.0 AutoCompleteSelectMultiple Add New not working with Django 4.2.8 nor 5.0.0 HOT 6
- extra_attrs tag deformed in templates
- Django add new popup window not working if nested HOT 1
- `collectstatic` doesn't work properly with new version of `jquery-ui`
- Uncaught TypeError: Cannot read properties of undefined (reading 'window.django.jQuery')
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-ajax-selects.