Source

django-selectable /

Filename Size Date modified Message
docs
example
selectable
131 B
53 B
134 B
1.3 KB
77 B
1.2 KB
1.2 KB

django-selectable

Tools and widgets for using/creating auto-complete selection widgets using Django and jQuery UI.

Features

  • Works with the latest jQuery UI Autocomplete library
  • Auto-discovery/registration pattern for defining lookups

Installation Requirements

Optional (but recommended)

To install:

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')),
    )