Django-Select2 ============== This is a [Django](https://www.djangoproject.com/) integration of [Select2](http://ivaynberg.github.com/select2/). The app includes Select2 driven Django Widgets and Form Fields. Installation ============ 1. Install `django_select2` pip install django_select2 2. Add `django_select2` to your `INSTALLED_APPS` in your project settings. 3. When deploying on production server, run :- python manage.py collectstatic Documentation ============= Documentation available at http://django-select2.readthedocs.org/. More details ============ More details can be found on my blog at - http://blog.applegrew.com/2012/08/django-select2/. External Dependencies ===================== * Django - This is obvious. * jQuery - This is not included in the package since it is expected that in most scenarios this would already be available. Example Application =================== Please see `testapp` application. This application is used to manually test the functionalities of this package. This also serves as a good example. You need only Django 1.4 or above to run that. It might run on older versions but that is not tested. Special Thanks ============== * Samuel Goldszmidt (@ouhouhsami) for reporting many fundamental issues with the code, because of which versions 2.0 and 2.0.1 were released. Changelog Summary ================= ### v3.1.5 * Merged pull request (issue[#17](https://github.com/applegrew/django-select2/issues/17)). Which allows the user to pass some extra data to Select2 clients-side component. * Updated License. The previous one was inadequently worded. Now this project use Apache 2.0 license. ### v3.1.4 * Manually merged changes from pull request (issue[#16](https://github.com/applegrew/django-select2/issues/16)). * Django Select2 widgets now allow passing of any Select2 Js options. Previously it used to allow only white-listed options. Now it will block only black-listed options. For example, Light Select2 widgets won't allow you to set `multiple` option, since it is an error to set them when Select2 Js is bound to `