django-smart-selects
django-smart-selects copied to clipboard
chained and grouped selects for django forms
All versions of django-smart-selects prior to version 1.2.8 are vulnerable to an XSS attack as detailed in [issue 171](https://github.com/digi604/django-smart-selects/issues/171#issuecomment-276774103). As a result, all previous versions have been removed from PyPI...
The recent pull request https://github.com/digi604/django-smart-selects/pull/172, while it fixed a real nasty XSS, it also introduced couple bugs into javascript code. Some of them (like double forEach loop on the same...
In our case we have customers, domain handles and domains. A handle has a customer, so does a domain. A domain has a handle (actually more, but that's not relevant...
I got a working setup working with a CreateView, but I needed to change it to a FormPreview, but then my ChainedSelect stopped working (shows blank when selecting whatever it's...
Currently what is stated in the docs is not aligned with what the code does: https://github.com/jazzband/django-smart-selects/blob/1f3ac7c08a31d2e8cc792f1de484a027a25eef1f/docs/settings.md?plain=1#L3-L10 https://github.com/jazzband/django-smart-selects/blob/1f3ac7c08a31d2e8cc792f1de484a027a25eef1f/smart_selects/widgets.py#L16-L51 Also there are no tests which ensures this beaviour. The issues are: -...
I upgraded to Django 4.2+ a project that uses django-smart-selects and I noticed an error from binfields.js. After investigating, I found that Django 4.1 removed $row and formsetName parameters. >...
when using ModelAdmin from unfold.admin, ChainedForeignKey does not work.