jrief/django-admin-sortable2
关于
为 Django 管理界面中的对象提供通用的拖放排序功能
网站与应用开发实测星标增长
- 24小时
- +1
- 7天
- +1
- 15天
- +3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文django-admin-sortable2
This Django package adds functionality for generic drag-and-drop ordering of items in the List, the Stacked- and the Tabular-Inlines Views of the Django Admin interface.
Check the demo:

This library offers simple mixin classes which enrich the functionality of any existing class inheriting from
admin.ModelAdmin, admin.StackedInline or admin.TabularInline.
It thus 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.
Version 2.0
This is a major rewrite of this django-admin-sortable2. It replaces the client side part against Sortable.JS and thus the need for jQuery.
Replacing that library allowed me to add a new feature: Multiple items can now be dragged and dropped together.
Project's Home
https://github.com/jrief/django-admin-sortable2
Detailled documentation can be found on ReadTheDocs.
Before reporting bugs or asking questions, please read the contributor's guide.
License
Licensed under the terms of the MIT license.
Copyright © 2013-2022 Jacob Rief and contributors.
探索相关项目
加载中…