django-orderable icon indicating copy to clipboard operation
django-orderable copied to clipboard

dat version 1.3

Open mtigas opened this issue 11 years ago • 3 comments

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 own demosrc 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 the OrderableModel behavior without defining order field. (So that order 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 copy orderable.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-copied orderable.js.

mtigas avatar Aug 17 '12 00:08 mtigas