.. image:: https://img.shields.io/pypi/dm/django-autocomplete-light.svg
   :target: https://pypi.python.org/pypi/django-autocomplete-light
.. image:: https://badge.fury.io/py/django-autocomplete-light.png
   :target: http://badge.fury.io/py/django-autocomplete-light
.. image:: https://secure.travis-ci.org/yourlabs/django-autocomplete-light.png?branch=master
    :target: http://travis-ci.org/yourlabs/django-autocomplete-light
.. image:: https://codecov.io/github/yourlabs/django-autocomplete-light/coverage.svg?branch=master
    :target: https://codecov.io/github/yourlabs/django-autocomplete-light?branch=master

Features
--------

- Python 2.7, 3.4, Django 2.0+ support (Django 1.11 (LTS), is supported until django-autocomplete-light-3.2.10),
- Django (multiple) choice support,
- Django (multiple) model choice support,
- Django generic foreign key support (through django-querysetsequence),
- Django generic many to many relation support (through django-generic-m2m and
  django-gm2m)
- Multiple widget support: select2.js, easy to add more.
- 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.

Roadmap
-------

- DAL < 4 supports Python 2 and 3 and Django 1.8 to 3.x
- DAL 4 supports Django 3.x and 4.x and Python 3
- DAL >= 3.9 offers a modern alternative to select2

Resources
---------

- `**Documentation** graciously hosted
  <http://django-autocomplete-light.rtfd.org>`_ by `RTFD
  <http://rtfd.org>`_
- `Mailing list graciously hosted
  <http://groups.google.com/group/yourlabs>`_ by `Google
  <http://groups.google.com>`_
- For **Security** issues, please contact yourlabs-security@googlegroups.com
- `Git graciously hosted
  <https://github.com/yourlabs/django-autocomplete-light/>`_ by `GitHub
  <http://github.com>`_,
- `Package graciously hosted
  <http://pypi.python.org/pypi/django-autocomplete-light/>`_ by `PyPi
  <http://pypi.python.org/pypi>`_,
