jazzband / django-smart-selects

chained and grouped selects for django forms
https://django-smart-selects.readthedocs.io/
BSD 3-Clause "New" or "Revised" License
1.12k stars 352 forks source link

jQuery URL docs is misleading and not aligned with that is actually done #358

Open sevdog opened 4 months ago

sevdog commented 4 months ago

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:

Some tests over this feature are required and also the docs should be more accurate.