Welcome to django-autocomplete-light’s documentation!#

https://img.shields.io/pypi/dm/django-autocomplete-light.svg https://badge.fury.io/py/django-autocomplete-light.png https://secure.travis-ci.org/yourlabs/django-autocomplete-light.png?branch=master https://codecov.io/github/yourlabs/django-autocomplete-light/coverage.svg?branch=master

Features#

  • Python 3.4, Django 3.2+ support,

  • Django (multiple) choice support,

  • Django (multiple) model choice support,

  • Django generic foreign key support (through django-querysetsequence),

  • Django generic many to many relation support (through django-generic-m2m and django-gm2m)

  • Multiple widget support: select2.js, easy to add more.

  • Creating choices that don’t exist in the autocomplete,

  • Offering choices that depend on other fields in the form, in an elegant and innovative way,

  • Dynamic widget creation (ie. inlines), supports YOUR custom scripts too,

  • Provides a test API for your awesome autocompletes, to support YOUR custom use cases too,

  • A documented automatically tested example for each use case in test_project.

Roadmap#

  • DAL < 4 supports Python 2 and 3 and Django 1.8 to 3.x

  • DAL 4 supports Django 3.x and 4.x and Python 3

  • DAL >= 3.9 offers a modern alternative to select2

Resources#

Basics#

External app support#

API#

Indices and tables#