Django Smart Selects

screenshot of Django Smart Selects

chained and grouped selects for django forms

Overview

Django Smart Selects is a package that allows users to filter or group "chained" models by incorporating custom foreign key or many-to-many fields to their models. It facilitates the use of AJAX queries to load relevant chained objects. This package is compatible with Django versions 3.2 to 5.0 and provides quick and efficient functionality for developers. Do note that permissions need to be managed, as by default, the AJAX endpoint allows for universal access to the data.

Features

  • Filter and Group Models: Easily filter or group models with custom foreign key or many-to-many fields.
  • AJAX Query: Utilize AJAX queries to load only relevant chained objects efficiently.
  • Django Compatibility: Works seamlessly with Django versions 3.2 to 5.0.
  • Customization Options: Customize the permission settings with the django-autocomplete-light package for more refined control.
  • Documentation: Well-documented package for easy installation and configuration.
  • Test App Example: Provided test_app example enables users to quickly test functionalities.
  • Future Updates: Plans to implement permission checks for restraint on chained field usage and introduction of ChainedCheckboxSelectMultiple widget.