www/py-django-admin-sortable2 2.3.1 NetBSD
Generic drag-and-drop sorting for Views in the Django Admin
- System
- NetBSD
- Repository
- pkgsrc
- Maintainer
- [email protected]
- License
- mit
- Categories
- www, python
- Package size
- 71.0 KiB, 417.4 KiB installed
Description
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.
Install
Binary package:
pkgin install py311-django-admin-sortable2
From pkgsrc:
cd /usr/pkgsrc/www/py-django-admin-sortable2 && make install clean
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | Version |
|---|---|
| NetBSD 10.1 x86_64 | 2.3.1 |
| NetBSD 10.1 aarch64 | 2.3.1 |
| SmartOS / illumos x86_64 | 2.3.1 |
| macOS 15 arm64 | 2.3.1 |
Dependencies
Run dependencies 2
No port depends on this one.
Configuration
No options to configure.
- Service scripts
- none
- Flavors
py312-django-admin-sortable2-2.3.1,py313-django-admin-sortable2-2.3.1,py314-django-admin-sortable2-2.3.1