django-ajax-selects
Edit ForeignKey, ManyToManyField and CharField in Django Admin using jQuery UI AutoComplete.
Decision gist · record as of 2026-08-14
No for new projects—Django 3.2+ has built-in autocomplete_fields that are better maintained and require no jQuery dependency. Yes-with-conditions for legacy codebases: if you already use this package or need its specific customization hooks, the low install friction and permissive license make it safe to keep. The dormant maintenance status means security fixes are unlikely, so audit your Django and Python versions for compatibility before upgrading.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django >=3.2 and Python >=3.10
- Low friction: pure Python wheel with only Django as a runtime dependency.
- Maintenance is dormant—last release was 699 days ago, though the repository remains active with 824 stars and no archived status.
License · maintenance · safety
MIT, GPL (permissive) — Dual-licensed under MIT and GPL, both permissive. You may use, modify, and distribute freely under either license's terms.
last release 2024-09-14 (699 days) · last repo commit 2024-09-14 · 824 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 118,148 downloads/mo, #12,130 on PyPI
Alternatives
Verify before relying
pip install django-ajax-selects
# settings.py
INSTALLED_APPS = (..., 'ajax_select', ...)
# yourapp/lookups.py
from ajax_select import register, LookupChannel
@register('tags')
class TagsLookup(LookupChannel):
model = Tag
def get_query(self, q, request):
return self.model.objects.filter(name__icontains=q)[:50]- Whether the package's jQuery UI 1.13.2 and jQuery 3.7.1 assets remain compatible with modern browser security policies.
- Current compatibility with Django versions beyond 3.2, given the long gap since the last release.
What it is and what it does
django-ajax-selects is a Django app that integrates jQuery UI AutoComplete into Django Admin to provide searchable dropdown fields for ForeignKey and ManyToMany relationships. It was created when Django lacked built-in autocomplete support; Django has since added native autocomplete_fields, making this package legacy for new projects. The package works by defining lookup channels that query your models and returning results as you type, then integrating those into admin forms via custom form fields.
The package includes jQuery 3.7.1 and jQuery UI 1.13.2 by default, though you can disable these and supply your own versions. It requires Django >=3.2 and Python >=3.10. Setup involves registering lookup channels, adding the app to INSTALLED_APPS, and including the ajax_select URL patterns in your project's URL configuration.
Use it for
- Migrate legacy Django Admin interfaces that rely on autocomplete for large ForeignKey fields without rewriting to native alternatives.
- Customize search behavior by defining your own query logic in lookup channels beyond standard filtering.
- Add autocomplete fields to forms used outside Django Admin by including form.media in your template.
- Format autocomplete results with custom HTML or styling via the format_item_display method.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No for new projects—Django 3.2+ has built-in autocomplete_fields that are better maintained and require no jQuery dependency.
Yes-with-conditions for legacy codebases: if you already use this package or need its specific customization hooks, the low install friction and permissive license make it safe to keep. The dormant maintenance status means security fixes are unlikely, so audit your Django and Python versions for compatibility before upgrading.
Install
django-ajax-selects on PyPI
Before you install
Low friction: pure Python wheel with only Django as a runtime dependency. Maintenance is dormant—last release was 699 days ago, though the repository remains active with 824 stars and no archived status.
Requires Django >=3.2 and Python >=3.10
License in practice
Dual-licensed under MIT and GPL, both permissive. You may use, modify, and distribute freely under either license's terms.
Quickstart
pip install django-ajax-selects
# settings.py
INSTALLED_APPS = (..., 'ajax_select', ...)
# yourapp/lookups.py
from ajax_select import register, LookupChannel
@register('tags')
class TagsLookup(LookupChannel):
model = Tag
def get_query(self, q, request):
return self.model.objects.filter(name__icontains=q)[:50]
Verify before relying
- Whether the package's jQuery UI 1.13.2 and jQuery 3.7.1 assets remain compatible with modern browser security policies.
- Current compatibility with Django versions beyond 3.2, given the long gap since the last release.
Package facts
| License | MIT, GPL permissive |
| Python support | Supports the current Python release <4.0,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageDjango |
| Maintenance | Dormant 699 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 118,148 / month, #12,130 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 :: DjangoIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseLicense :: Other/Proprietary LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Topic :: Software Development :: Libraries :: Python ModulesTopic :: Software Development :: User Interfaces |
Evidence: django_ajax_selects-3.0.3-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 admin autocomplete”
- django-ajax-selectsAdds autocomplete search fields to Django Admin for managing…
- django-admin-autocomplete-filterAdds autocomplete-based filtering to Django admin list views,…
- djangoqlDjangoQL provides an advanced search query language for Django models…
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-multiselectfield · django-sortedm2m · django-jsonform · django-select2 · django-admin-autocomplete-filter · django-prettyjson · django-summernote · django-admin-tools · django-admin-list-filter-dropdown · django-import-export