- Merged #64, thanks to leibowitz. Fixed situation when widget were not displayed on django 2.2+.
- Fixed #57, thanks to jaikanthjay46
- Fixed cascading issue-52 bug
- Introducing django's Jquery to easy-select2 for accessing django's JQuery
- Work with jQuery instead of depending on $, thanks to leibowitz
- Fixed a problem with django admin tabularinline (#52), thanks to leibowitz
Warning
Version 1.5.3 changes, read below.
- Fixed #50 (partly remaining bug in v 1.5.2) - 1st record addition fixed for "Doesn't work for dynamically added forms in inline admins"
- updated easy_select js to fail case when easy-select2.js[line#65]($(e.target).find('div.field-easy-select2:not([id*="__prefix__"])')) is not able to find elements while in DomNodeInserted corresponding to other node insertion than select2 widgets.
Warning
Version 1.5.2 changes, read below.
- Fixed #45 (remaining bug in v 1.5.0) - 1st record addition fixed for "Doesn't work for dynamically added forms in inline admins"
- updated easy_select js to handle DomNodeInserted Event for select2() dynamic initialization for all instances
Warning
Version 1.5.1 changes, read below.
- Fixed #45 - "Doesn't work for dynamically added forms in inline admins"
- updated easy_select js to handle DomNodeInserted Event for select2() dynamic initialization
Warning
Version 1.5.0 major changes, read below.
- Fixed #44 - "mark_safe problem"
- Support for select2 constructor argument injection, within separate initialization block with for select2.
- updated easy-select2 wrapper initialization. Updated to JQuery plugin code design for JS code injection, allowing direct injection of select2 constructor arguments.
Warning
Version 1.4.0 introduced backward incompatible changes, read below.
- Fixed #38 - "Related model combobox doesn't update after add in Django 2"
- Dropping support for Python 2.x
- Django 2.0+ support. Demoapp updated to reflect the needed changes.
- Python 3.x+ support (recommended Python3.4 and above)
- Django 1.11 support
- Fixed #29 — "Application breaks dumpdata command"
- Fixed #24, big thanks to Andrzej Mateja
- support for django staticfiles storage, thanks to martolini for idea
Warning
Version 1.3 introduced backward incompatible changes, read below.
- Select2 updated to 4.0.0
- updated jQuery to 2.1.3
- removed deprecated select2_meta_factory, Select2TextMixin and Select2TextInput.
- fixed issue #22, thanks to zeta83
- fixed issue#2
- fixed issue#15 - "RemovedInDjango18Warning"
- fixed issue#14 - README.rst is not included in MANIFEST.in
- fixed issue#12 "Inline relations: "Add another <Model>" breaks dropdown boxes"
Warning
Version 1.2.9 introduced backward incompatible change: select2attrs argument of Select2Mixin.__init__ must be of type dict
- fixed incorrect instructions in help_text of ManyToMany fields #2, thanks to bashu.
- setup.py fixes (issue #11), thanks to JensTimmerman.
- Extended select2_modelform function with form_class argument to specify form base class explicitly (issue #10).
- Fixed issue #9 "apply_select2 not imported in __init__" thanks to ocZio for bug report.
- Fixed issue #6 "Select will not update selection after adding a new option", thanks to ismaelbej for bug report.
- Python 3.3 support, thanks to dzerrenner
- Rendering select2attrs as unicode or json based on type
Now, if select2attrs is instance of basestring (str or unicode), it will be casted to unicode, else it will be turned to json string.
- Extended package-level imports with Select2TextInput
- added Select2TextInput, thanks to mkoistinen
- issue#1 fix (django-admin-sortable compatibility), thanks to @mkoistinen