django-ajax-selects is a module for Django which enables editing of ForeignKey, ManyToMany and CharField using jQuery UI Autocomplete.
django-ajax-selects is a module for Django which enables editing of ForeignKey, ManyToMany and CharField using jQuery UI Autocomplete
When user types a search term into the text field an ajax request is sent to the server and a dropdown menu is populated with results. User selects by clicking or using arrow keys. Selected result displays in the "deck" area directly below the input field. User can click trashcan icon to remove a selected item
Features:
- Django 1.2+
- Optional bootstrap mode allows easy installation by automatic inclusion of jQueryUI from the googleapis CDN
- Compatible with staticfiles, appmedia, django-compressor etc
- Popup to add a new item is supported
- Admin inlines now supported
- Ajax Selects works in the admin and also in public facing forms.
- Rich formatting can be easily defined for the dropdown display and the selected "deck" display.
- Templates and CSS are fully customizable
- JQuery triggers enable you to add javascript to respond when items are added or removed, so other interface elements on the page can react
- Default (but customizable) security prevents griefers from pilfering your data via JSON requests
Projects website: