parent
7f3bbbed4c
commit
6f2e667e6c
17
README.md
17
README.md
|
|
@ -179,8 +179,8 @@ if the inline model is sortable from here, which is why we have to set the
|
||||||
|
|
||||||
#### Extending custom templates
|
#### Extending custom templates
|
||||||
By default, adminsortable's change form and change list views inherit from
|
By default, adminsortable's change form and change list views inherit from
|
||||||
Django admin's standard templates. Sometimes you need to have a custom change
|
Django admin's standard templates. Sometimes you need to have a custom change
|
||||||
form or change list, but also need adminsortable's CSS and JavaScript for
|
form or change list, but also need adminsortable's CSS and JavaScript for
|
||||||
inline models that are sortable for example.
|
inline models that are sortable for example.
|
||||||
|
|
||||||
SortableAdmin has two properties you can override for this use case:
|
SortableAdmin has two properties you can override for this use case:
|
||||||
|
|
@ -218,13 +218,12 @@ ordering on top of that just seemed a little much in my opinion.
|
||||||
django-admin-sortable is currently used in production.
|
django-admin-sortable is currently used in production.
|
||||||
|
|
||||||
|
|
||||||
### What's new in 1.4.6?
|
### What's new in 1.4.7?
|
||||||
- SortableAdmin now allows you to specify a custom template to extend,
|
- Added `create` handlers for jQueryUI sortables to unbind events for checkboxes
|
||||||
rather than using the default admin change list/form templates. This gives
|
on inline models. This was preventing the "delete" checkboxes from being checked.
|
||||||
you the ability to have a custom change list/form template that also has
|
- Updated jQuery to 1.9.1 and jQueryUI to 1.10.2.
|
||||||
sorting capabilities.
|
- Updated the shared JavaScript includes template, change form and change list
|
||||||
- Fixed a problem with the display of drag-and-drop capability messaging in
|
to not include unnecessary files.
|
||||||
inline models that was caused by adminsortable respecting custom querysets.
|
|
||||||
|
|
||||||
|
|
||||||
### Future
|
### Future
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
VERSION = (1, 4, 6) # following PEP 386
|
VERSION = (1, 4, 7) # following PEP 386
|
||||||
DEV_N = None
|
DEV_N = None
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue