Skip to main content

Fresh autocompletes for Django

Project description

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

Features

  • Python 3.11–3.14 and Django 5.2–6.0+ support

  • ``dal_alight`` widget media uses ``type=”module”`` scripts on Django 5.2+ (via django.forms.widgets.Script or a small backport in dal_alight.media) so merged form media does not double-execute web component registration.

  • Django (multiple) choice support,

  • Django (multiple) model choice support,

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

  • Multiple widget support: native web component (dal_alight), select2.js (dal_select2).

  • 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.

Compatibility

Use this matrix to pick the django-autocomplete-light version series for your Django version:

django-autocomplete-light

Django

Purpose

Upgrade

5.x

5.2, 6.0+

WebComponent support

v4 to v5

4.x

4.2, 5.2, 6.0+

modernization & cleanup

v3 to v4

3.12.x

3.2 to 5.2

Resources

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

django_autocomplete_light-5.1.0rc1.tar.gz (280.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_autocomplete_light-5.1.0rc1-py3-none-any.whl (145.4 kB view details)

Uploaded Python 3

File details

Details for the file django_autocomplete_light-5.1.0rc1.tar.gz.

File metadata

File hashes

Hashes for django_autocomplete_light-5.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 1aa076966e0e685ed79e1badf990f34c96ae5c489bd5b0d178c5ef6131a8a7e2
MD5 d95d6cc70dc6c274478572b5925c625a
BLAKE2b-256 e7d5b4d50b0df8e90e5eaf4753b5581b591951b0aa4bac3b23318b7751e50f3d

See more details on using hashes here.

File details

Details for the file django_autocomplete_light-5.1.0rc1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_autocomplete_light-5.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 8c6ce6b997ea49b063365087b48674b3e935b83e1a5868800441414c8141c89f
MD5 0cf370d8120a93751238512343f0b72b
BLAKE2b-256 1188e74637e51095d65d59aac26ddbac5340d1cf1c9d4c74e8a682a361f71a57

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page