django-select2
This is a Django_ integration of Select2_.
Decision gist · record as of 2026-08-14
Yes. Django-Select2 is a stable, actively maintained package with low install friction and no known vulnerabilities. It solves a common UX problem in Django forms with a permissive license and broad Django version support. Install it when you need autocomplete or filtered selection fields beyond Django's built-in options.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; Django 4.2, 5.2, or 6.0
- Low friction installation with only two runtime dependencies (django and django-appconf).
- Actively maintained with recent commits and stable production status across Django 4.2 through 6.0.
License · maintenance · safety
permissive license (permissive) — MIT license permits use in both open-source and commercial projects with minimal restrictions.
last release 2026-01-07 (219 days) · last repo commit 2026-07-20 · 208 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 526,172 downloads/mo, #6,181 on PyPI
Alternatives
Verify before relying
pip install django-select2
from django_select2.forms import ModelSelect2Widget
from django import forms
class MyForm(forms.Form):
my_field = forms.ModelChoiceField(
queryset=MyModel.objects.all(),
widget=ModelSelect2Widget()
)- Whether Select2 JavaScript library is bundled or requires separate frontend setup
- Performance characteristics with large datasets or high-cardinality selections
- Compatibility with Django's built-in autocomplete_fields feature mentioned in documentation
What it is and what it does
Django-Select2 wraps the Select2 JavaScript library to provide enhanced autocomplete and dropdown selection fields for Django forms. It replaces standard HTML select elements with searchable, filterable dropdowns that improve user experience when choosing from large or dynamic option lists. The package integrates directly into Django's form system, allowing developers to attach Select2 functionality to model choice fields with minimal configuration.
The package is lightweight, depending only on Django itself and django-appconf for configuration management. It supports current Python versions (3.10 through 3.14) and recent Django releases (4.2, 5.2, 6.0). The project is actively maintained with a stable, production-ready status, making it suitable for adding polished autocomplete behavior to existing Django applications without heavy dependencies.
Use it for
- Add searchable dropdowns to admin forms for selecting related objects from large tables
- Implement typeahead search fields in user-facing forms to reduce selection friction
- Build multi-select fields with filtering for choosing multiple related items efficiently
- Replace standard select elements in data entry forms with autocomplete for better UX
- Create dynamic choice fields that filter options based on user input in real time
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Django-Select2 is a stable, actively maintained package with low install friction and no known vulnerabilities. It solves a common UX problem in Django forms with a permissive license and broad Django version support. Install it when you need autocomplete or filtered selection fields beyond Django's built-in options.
Install
django-select2 on PyPI
Before you install
Low friction installation with only two runtime dependencies (django and django-appconf). Actively maintained with recent commits and stable production status across Django 4.2 through 6.0.
Requires Python 3.10 or later; Django 4.2, 5.2, or 6.0
License in practice
MIT license permits use in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install django-select2
from django_select2.forms import ModelSelect2Widget
from django import forms
class MyForm(forms.Form):
my_field = forms.ModelChoiceField(
queryset=MyModel.objects.all(),
widget=ModelSelect2Widget()
)
Verify before relying
- Whether Select2 JavaScript library is bundled or requires separate frontend setup
- Performance characteristics with large datasets or high-cardinality selections
- Compatibility with Django's built-in autocomplete_fields feature mentioned in documentation
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdjangodjango-appconf |
| Maintenance | Actively maintained 219 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 526,172 / month, #6,181 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 :: 4.2Framework :: Django :: 5.2Framework :: Django :: 6.0Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Software Development |
Evidence: django_select2-8.4.8-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 fields”
- django-select2Provides custom autocomplete form fields for Django that integrate…
- django-autocomplete-lightProvides autocomplete widgets for Django forms that integrate with…
- 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 Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also django-admin-autocomplete-filter · django-autocomplete-light · django-ajax-selects · django-formtools · django-tables2 · django-more-admin-filters · django-json-widget · django-recaptcha · django-admin-list-filter-dropdown · django-ckeditor