django-admin-sortable2
Generic drag-and-drop sorting for the List, the Stacked- and the Tabular-Inlines Views in the Django Admin
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, supports current Django and Python versions, has no known vulnerabilities, and adds a common admin feature with minimal install friction and a permissive license. It integrates cleanly via mixins without requiring model changes, making it a low-risk addition to existing Django projects.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a single runtime dependency on Django.
- The package is actively maintained with a recent commit on 2026-07-06 and marked as Production/Stable, supporting Django 4.2 through 5.2 and Python 3.9 through 3.13.
License · maintenance · safety
MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute this package with minimal legal restrictions; attribution to Jacob Rief and contributors is appreciated but not legally required.
last release 2026-01-22 (204 days) · last repo commit 2026-07-06 · 885 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,412,069 downloads/mo, #3,936 on PyPI
Alternatives
Verify before relying
pip install django-admin-sortable2
from django_admin_sortable2.admin import SortableAdminMixin
class MyModelAdmin(SortableAdminMixin, admin.ModelAdmin):
pass
admin.site.register(MyModel, MyModelAdmin)- Whether the package requires a specific ordering field on the model or handles it automatically
- What JavaScript library (Sortable.JS) version is bundled and whether it has known vulnerabilities
- Whether multiple-item drag-and-drop works across all Django versions listed (4.2–5.2)
What it is and what it does
django-admin-sortable2 is a Django package that integrates drag-and-drop reordering into the Django Admin interface. It provides mixin classes that can be added to any existing ModelAdmin, StackedInline, or TabularInline class without requiring changes to your models themselves. The package uses Sortable.JS on the client side and supports dragging multiple items at once.
You simply inherit from the appropriate mixin class alongside your existing admin class, and the reordering UI appears automatically in the admin list and inline views. The package is designed to integrate with existing models and admin configurations with minimal friction, making it straightforward to add ordering capability to any Django project.
Use it for
- Reorder product listings or menu items in a Django admin interface without writing custom JavaScript
- Allow administrators to drag multiple related items (e.g., inline form entries) to set their display order
- Add sortable columns to existing admin list views without modifying model definitions
- Implement drag-and-drop ordering for hierarchical or nested admin inlines
- Enable quick reordering of featured items or priority-based content in the admin UI
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, supports current Django and Python versions, has no known vulnerabilities, and adds a common admin feature with minimal install friction and a permissive license. It integrates cleanly via mixins without requiring model changes, making it a low-risk addition to existing Django projects.
Install
django-admin-sortable2 on PyPI
Before you install
Low install friction with a single runtime dependency on Django. The package is actively maintained with a recent commit on 2026-07-06 and marked as Production/Stable, supporting Django 4.2 through 5.2 and Python 3.9 through 3.13.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute this package with minimal legal restrictions; attribution to Jacob Rief and contributors is appreciated but not legally required.
Quickstart
pip install django-admin-sortable2
from django_admin_sortable2.admin import SortableAdminMixin
class MyModelAdmin(SortableAdminMixin, admin.ModelAdmin):
pass
admin.site.register(MyModel, MyModelAdmin)
Verify before relying
- Whether the package requires a specific ordering field on the model or handles it automatically
- What JavaScript library (Sortable.JS) version is bundled and whether it has known vulnerabilities
- Whether multiple-item drag-and-drop works across all Django versions listed (4.2–5.2)
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageDjango |
| Maintenance | Actively maintained 204 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,412,069 / month, #3,936 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.0Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Application FrameworksTopic :: Software Development :: Libraries :: Python Modules |
Evidence: django_admin_sortable2-2.3.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django admin drag and drop ordering”
- django-admin-sortable2Adds drag-and-drop reordering of model instances directly in Django…
- django-nested-adminExtends Django's admin interface to support nested inlines, allowing…
- django-sortedm2mProvides a drop-in replacement for Django's ManyToManyField that…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-ordered-model · django-admin-extra-buttons · django-admin-inline-paginator-plus · django-admin-inline-paginator · django-markdownx · django-nonrelated-inlines · dj-materialized-views · django-sortedm2m · django-admin-data-views · django-reversion-compare