django-selectable /

Filename Size Date modified Message
docs
example
selectable
141 B
548 B
134 B
1.3 KB
77 B
1.7 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 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

Documentation for django-selectable is available on Read The Docs:

Contributing

If you think you've found a bug or are interested in contributing to this project check out our contributing guide.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.