Skip to main content

Fresh autocompletes for Django

Project description

https://secure.travis-ci.org/yourlabs/django-autocomplete-light.png?branch=master https://pypip.in/d/django-autocomplete-light/badge.png https://pypip.in/v/django-autocomplete-light/badge.png https://coveralls.io/repos/yourlabs/django-autocomplete-light/badge.png?branch=stable/2.x.x

django-autocomplete-light’s purpose is to enable autocompletes quickly and properly in a django project: it is the fruit of years of R&D. It was designed for Django so that every part overridable or reusable independently. It is stable, tested, documented and fully supported: it tries to be a good neighbour in Django ecosystem.

Features

Features include:

  • charfield, foreign key, many to many autocomplete widgets,

  • generic foreign key, generic many to many autocomplete widgets,

  • django template engine support for autocompletes, enabling you to include images etc …

  • 100% overridable HTML, CSS, Python and Javascript: there is no variable hidden far down in the scope anywhere.

  • add-another popup supported outside the admin too.

  • keyboard is supported with enter, tab and arrows by default.

  • Django 1.7, Python3 support

Each feature has a live example and is fully documented. It is also designed and documented so that you create your own awesome features too.

Upgrade from 1.x.x

To upgrade to v2, please enjoy the v1 to v2 upgrade instructions (documented with love !).

  • the Autocomplete class design hasn’t changed at all.

  • yourlabsWidget() doesn’t parses data-* options the same,

  • the django/form python code has been re-organised ie. get_widgets_dict() is gone and autocomplete_light.ModelForm wraps around all features by default.

  • use autocomplete_light.ModelForm instead of autocomplete_light.GenericModelForm - generic foreign keys and django-generic-m2m are supported by default if installed.

Resources

Resources include:

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-2.1.0rc1.tar.gz (95.7 kB view details)

Uploaded Source

File details

Details for the file django-autocomplete-light-2.1.0rc1.tar.gz.

File metadata

File hashes

Hashes for django-autocomplete-light-2.1.0rc1.tar.gz
Algorithm Hash digest
SHA256 67259c2f4668c5e0dae75d58b6c3edf6ee72d9200c3dfe53e005651cc190f1e2
MD5 220b901a286c751c4448d5080434add4
BLAKE2b-256 c6cd0ee887de3a01b1169aa509353b27382e7bb90e0e18595e7298a739a07b74

See more details on using hashes here.

Supported by

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