Tools and widgets for using/creating auto-complete selection widgets using Django and jQuery UI.
- Works with the latest jQuery UI Autocomplete library
- Auto-discovery/registration pattern for defining lookups
Optional (but recommended)
pip install django-selectable
If you are using django-staticfiles (or django.contrib.staticfiles in Django 1.3) then add selectable to your INSTALLED_APPS to include the related css/js.
The jQuery and jQuery UI libraries are not included in the distribution but should be included in your templates. See the example project for an example using these libraries from the Google CDN.
Once installed you should add the urls to your root url patterns:
.. code-block:: urlpatterns = patterns('', # Other patterns go here (r'^selectable/', include('selectable.urls')), )