django-selectable

Bitbucket is a code hosting site with unlimited public and private repositories. We're also free for small teams!

Close

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:

Additional Help/Support

You can find additional help or support on the mailing list: http://groups.google.com/group/django-selectable

Contributing

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

Recent activity

Commits by bernardo were pushed to Bernardo_Pires/django-selectable

e0f108e - get_item now uses the direct get method from a method and no longer calls get_queryset as the query on a primary key will always select ...
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.