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
Begining with version django-selectable version 0.6, Django 1.2 is no longer supported. While it may continue to work, bugs related to Django 1.2 support will not be fixed.
Version 0.7 adds experimental support for Python 3.2+ when used with Django 1.5+.
pip install django-selectable
Next add selectable to your INSTALLED_APPS to include the related css/js:
INSTALLED_APPS = ( 'contrib.staticfiles', # Other apps here 'selectable', )
The jQuery and jQuery UI libraries are not included in the distribution but must 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:
urlpatterns = patterns('', # Other patterns go here (r'^selectable/', include('selectable.urls')), )
Documentation for django-selectable is available on Read The Docs.
You can find additional help or support on the mailing list: http://groups.google.com/group/django-selectable