django-autocomplete-light
Fresh autocompletes for Django
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a common Django UX problem with low install friction. It is well-established (in production since 2012) and supports current Python and Django versions. Install it if you need autocomplete widgets in Django forms.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django 5.2 or 6.0+ and Python 3.11 or later; autocomplete endpoint must be configured in your Django URL routing.
- Low friction install with a single runtime dependency on django.
- Actively maintained with a recent release (57 days ago) and 1870 repository stars; supports current Python versions (3.11–3.14) and modern Django (5.2–6.0+).
License · maintenance · safety
MIT (permissive) — MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
last release 2026-06-18 (57 days) · last repo commit 2026-06-29 · 1,870 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 754,728 downloads/mo, #5,143 on PyPI
Alternatives
Verify before relying
pip install django-autocomplete-light
from django_autocomplete_light.widgets import ModelSelect2
# In your form class:
class MyForm(forms.Form):
my_field = forms.ModelChoiceField(
queryset=MyModel.objects.all(),
widget=ModelSelect2(url='my_autocomplete_url')
)- Whether django-querysetsequence is automatically installed for generic foreign key support or must be added separately.
- Performance characteristics when handling large querysets or high-frequency autocomplete requests.
- Specifics of how custom scripts integrate with dynamic widget creation in inlines.
What it is and what it does
django-autocomplete-light is a Django form widget library that replaces standard choice and model choice fields with autocomplete-enabled alternatives. It lets users type to filter options rather than scrolling through static lists, improving UX for forms with many choices. The package supports both a native web component (dal_alight) and select2.js, and handles Django's multiple choice fields, model relationships, and generic foreign keys.
The library is designed for developers building Django applications who need to add search-as-you-type functionality to forms without heavy client-side configuration. It integrates directly into Django's form system, supports dynamic widget creation for inline forms, and includes a test API for custom autocomplete logic. The single runtime dependency (django) keeps installation friction low.
Use it for
- Replace a large dropdown of database records with a searchable autocomplete field in a Django admin or custom form.
- Build multi-step forms where available choices in one field depend on selections in another field.
- Add autocomplete to inline formsets that are created dynamically without page reload.
- Implement custom autocomplete logic with your own queryset filtering and choice creation rules.
- Migrate from plain select fields to select2.js-powered autocompletes with minimal code changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and solves a common Django UX problem with low install friction. It is well-established (in production since 2012) and supports current Python and Django versions. Install it if you need autocomplete widgets in Django forms.
Install
django-autocomplete-light on PyPI
Before you install
Low friction install with a single runtime dependency on django. Actively maintained with a recent release (57 days ago) and 1870 repository stars; supports current Python versions (3.11–3.14) and modern Django (5.2–6.0+).
Requires Django 5.2 or 6.0+ and Python 3.11 or later; autocomplete endpoint must be configured in your Django URL routing.
License in practice
MIT license (permissive) places no restrictions on use, modification, or distribution in proprietary or open-source projects.
Quickstart
pip install django-autocomplete-light
from django_autocomplete_light.widgets import ModelSelect2
# In your form class:
class MyForm(forms.Form):
my_field = forms.ModelChoiceField(
queryset=MyModel.objects.all(),
widget=ModelSelect2(url='my_autocomplete_url')
)
Verify before relying
- Whether django-querysetsequence is automatically installed for generic foreign key support or must be added separately.
- Performance characteristics when handling large querysets or high-frequency autocomplete requests.
- Specifics of how custom scripts integrate with dynamic widget creation in inlines.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjango |
| Maintenance | Actively maintained 57 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 754,728 / month, #5,143 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Software Development :: Libraries :: Python Modules |
Evidence: django_autocomplete_light-5.0.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django autocomplete widget”
- django-autocomplete-lightProvides autocomplete widgets for Django forms that integrate with…
- django-admin-autocomplete-filterAdds autocomplete-based filtering to Django admin list views,…
- django-ajax-selectsAdds autocomplete search fields to Django Admin for managing…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-cities-light · django-extended-choices · django-select2 · django-admin-autocomplete-filter · django-choices-field · django-more-admin-filters · django-recaptcha · django-etc · django-ckeditor-5 · django-json-widget