Skip to main content

Django application to handle chained model fields.

Project description

# Django Smart Selects

[![Jazzband](]( [![Build Status](]( [![Coverage Status](]( [![PyPI](](

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.

## Documentation

For more information on installation and configuration see the documentation at:

## Reporting issues / sending PRs

You can try the test_app example using:

`shell python migrate python loaddata test_app/fixtures/* python runserver `

Then login with admin/admin at


  • Add permission checks to enable users to restrict who can use the chained fields.
  • Add a ChainedCheckboxSelectMultiple widget and adjust chainedm2m.js and chainedfk.js to build checkboxes in that case

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-smart-selects, version 1.5.9
Filename, size File type Python version Upload date Hashes
Filename, size django-smart-selects-1.5.9.tar.gz (26.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page