django-orderable
django-orderable copied to clipboard
dat version 1.3
Changes/Fixes
- Un-break. (Last commit did not work in 1.4.X, probably due to JS issues.)
- Works in Django 1.3.X and 1.4.X. (And running in production on spokesman.com.)
- Moved example project out of
orderable.tests
to it's owndemosrc
dir in the repo. - More comprehensive README.
- Ensure that inline drag-and-drop cannot move "Add new X" row or move items below that row.
- Fix issue where text inputs in TabularInline could not be edited (because jQueryUI sortable was catching mouse event)
- New
BaseOrderableModel
that provides all of theOrderableModel
behavior without definingorder
field. (So thatorder
can be defined manually by an implementing class.) Done because I needed to throw this on top of an existing model. - Show "tip" text (similar to change list tip) above orderable inlines.
- Now uses
staticfiles
instead of relying on user to copyorderable.js
into MEDIA_ROOT. - Probably some other things I forgot.
Bugs/Notices
- Addition of tips (stacked.html, tabular.html) will require regenerating translations.
- Those two files possibly need better wording/HTML/something?
Upgrade caveats
- Now relies on
staticfiles
. (Admin in 1.4+ relies on it, anyway.) Existing installs can remove the previously user-copiedorderable.js
.