crucialfelix/django-ajax-selects — pull request #44 by brianmay (2013-04-01 03:44:51+00:00)
Title: Improve JavaScript support

The first view changes fix Django 1.5 compatibility issues.

In the last change I go overboard with trying to make the controls more usable from within JavaScript.

Note I have used

* data("ai-autocomplete") (jquery-ui 1.10)
* not data("autocomplete") (jquery-ui 1.9)
* not autocomplete( "instance" ) (jquery-ui 1.11 when release, see, https://github.com/jquery/jquery-ui/commit/38c7b1ca814c59c48522cda6cfdf054c61773959)

I think the best way of resolving these version issues would be to extend the jquery-ui widget so we can override _renderItem directly.