This package allows you to quickly filter or group "chained" models by adding a custom foreign key or many to many field to your models. This will use an AJAX query to load only the applicable chained objects.
Warning: The AJAX endpoint enforces no permissions by default. This means that any model with a chained field will be world readable. If you would like more control over this permission, the django-autocomplete-light package is a great, high-quality package that enables the same functionality with permission checks.
For more information on installation and configuration see the documentation at:
https://django-smart-selects.readthedocs.io/
- Add permission checks to enable users to restrict who can use the chained fields.
- Add a
ChainedCheckboxSelectMultiplewidget and adjustchainedm2m.jsandchainedfk.jsto build checkboxes in that case