./www/py-django-admin-sortable2, Generic drag-and-drop sorting for Views in the Django Admin

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 2.2.4, Package name: py312-django-admin-sortable2-2.2.4, Maintainer: pkgsrc-users

A replacement for django-admin-sortable using an unintrusive approach.

This plugin is a generic drag-and-drop ordering module for sorting objects in
the List, the Stacked- and the Tabular-Inlines Views in the Django Admin
interface.

This module offers simple mixin classes which enrich the functionality of any
existing class derived from admin.ModelAdmin, admin.StackedInline or
admin.TabularInline.

Thus it makes it very easy to integrate with existing models and their model
admin interfaces. Existing models can inherit from models.Model or any other
class derived thereof. No special base class is required.


Required to run:
[www/py-django] [devel/py-setuptools] [lang/python37]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 66.608 KB

Version history: (Expand)


CVS history: (Expand)


   2024-11-24 21:03:42 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django-admin-sortable2: updated to 2.2.4

2.2.4
Fix: Selected ordering is not always preserved when using "Save as \ 
new" in inline admin.
   2024-11-11 08:29:31 by Thomas Klausner | Files touched by this commit (862)
Log message:
py-*: remove unused tool dependency

py-setuptools includes the py-wheel functionality nowadays
   2024-10-24 09:31:55 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django-admin-sortable2: updated to 2.2.3

2.2.3

Add compatibility for Django-5.1
   2024-10-14 08:46:10 by Thomas Klausner | Files touched by this commit (325)
Log message:
*: clean-up after python38 removal
   2024-08-20 13:19:17 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-django-admin-sortable2: updated to 2.2.2

2.2.2

Fix: Coalesce type error on default_ordering_field.
   2024-05-18 08:05:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django-admin-sortable2: updated to 2.2.1

2.2.1

Fix: With setting DEBUG = True, loading the unminimized JavaScript files failed. \ 
They now are added during build time.
   2024-05-15 17:16:16 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django-admin-sortable2: updated to 2.2

2.2

Add support for Django-5.0
Drop support for Python-3.8
Drop support for Django-4.1 and lower.

2.1.11

Upgrade all external dependencies to their latest versions.
Adopt E2E tests to use Playwright's locator.
   2023-12-02 08:17:54 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-django-admin-sortable2: updated to 2.1.10

2.1.10

Do not create sourcemaps in production build.
2.1.9

Folder testapp is not published on PyPI anymore.
2.1.8

Fix: In combination with django-nested-admin integration fails with an error in \ 
inlien formsets.
2.1.7

Yanked.
2.1.6

Add support for Django-4.2.
2.1.5

Fix: In SortableInlineAdminMixin.get_fields(), convert potential tuple to list \ 
in order to append extra elements.
2.1.4

Fix: It not is not possible anymore, to move items beyond the last item, i.e. \ 
after an empty extra rows for new items or even after the row with the "Add \ 
another chapter" link.
2.1.3

Fix 328: Replace uglify against terser to minify JavaScript files.
2.1.2

Fix 320: Adding Jinja2 as template engine didn't work because it is unable to \ 
handle file references using pathlib.Path.
2.1.1

Enlarge top/down buttons on top of header of SortableTabularInline.
2.1

Introduce classes adminsortable2.admin.SortableStackedInline and \ 
adminsortable2.admin.SortableTabularInline to resort items to the begin or end \ 
of the list of those inlines.
Add support for Django-4.1.
2.0.5

Fix: When using an InlineAdmin with a self defined form, the default ordering \ 
has been ignored.
Fix: Skip instance check, if model used in an InlineAdmin is a proxy model.
2.0.4

Fix 309: Prevent JavaScrip error when using *InlineAdmin without sortable list view.
Internally use Python's pathlib instead of os.path.
In DEBUG mode, load unminimized JavaScript.
2.0.3

Fix 304: ModelAdmin not inheriting from SortableAdminMixin prevented sortable \ 
Stacked-/TabluraInlineAdmin be sortable.
2.0.2

Fix 303: Use CSRF-Token from input field rather than from Cookie.
2.0.1

Fix 302: Django's ManifestStaticFilesStorage references missing file \ 
adminsortable2.js.map.
2.0

Drop support for Django 3.2 and lower.
Replace jQuery-UI's sortable against Sortable.js.
Use TypeScript instead of JavaScript for all client side code.
Remove all extended Django admin templates: This allows a smoother upgrade for \ 
future Django versions.
New feature: Select multiple rows and drag them to a new position.