# 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.
[![Build Status](https://github.com/jrief/django-admin-sortable2/actions/workflows/tests.yml/badge.svg)](https://github.com/jrief/django-admin-sortable2/actions/workflows/tests.yml)
[![PyPI version](https://img.shields.io/pypi/v/django-admin-sortable2.svg)](https://pypi.python.org/pypi/django-admin-sortable2)
[![Python versions](https://img.shields.io/pypi/pyversions/django-admin-sortable2.svg)](https://pypi.python.org/pypi/django-admin-sortable2)
[![Django versions](https://img.shields.io/pypi/djversions/django-admin-sortable2)](https://pypi.python.org/pypi/django-admin-sortable2)
[![Downloads](https://img.shields.io/pypi/dm/django-admin-sortable2.svg)](https://img.shields.io/pypi/dm/django-admin-sortable2.svg)
[![Software license](https://img.shields.io/pypi/l/django-admin-sortable2.svg)](https://github.com/jrief/django-admin-sortable2/blob/master/LICENSE)
Check the demo:
![Demo](https://raw.githubusercontent.com/jrief/django-admin-sortable2/master/docs/source/_static/django-admin-sortable2.gif)
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](https://sortablejs.github.io/Sortable/) 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](https://django-admin-sortable2.readthedocs.org/en/latest/).
Before reporting bugs or asking questions, please read the
[contributor's guide](https://django-admin-sortable2.readthedocs.io/en/latest/contributing.html).
## License
Licensed under the terms of the MIT license.
Copyright © 2013-2022 Jacob Rief and contributors.
Please follow me on
[![Twitter Follow](https://img.shields.io/twitter/follow/jacobrief.svg?style=social&label=Jacob+Rief)](https://twitter.com/jacobrief)
for updates and other news.
Raw data
{
"_id": null,
"home_page": "https://github.com/jrief/django-admin-sortable2",
"name": "django-admin-sortable2",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "django",
"author": "Jacob Rief",
"author_email": "jacob.rief@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/ee/a1/0651ad69906f9ec9e73897353e933611550c6d31bfa9f721319c0ed99108/django_admin_sortable2-2.2.4.tar.gz",
"platform": "OS Independent",
"description": "# django-admin-sortable2\n\nThis Django package adds functionality for generic drag-and-drop ordering of items in the List, the Stacked- and the\nTabular-Inlines Views of the Django Admin interface.\n\n[![Build Status](https://github.com/jrief/django-admin-sortable2/actions/workflows/tests.yml/badge.svg)](https://github.com/jrief/django-admin-sortable2/actions/workflows/tests.yml)\n[![PyPI version](https://img.shields.io/pypi/v/django-admin-sortable2.svg)](https://pypi.python.org/pypi/django-admin-sortable2)\n[![Python versions](https://img.shields.io/pypi/pyversions/django-admin-sortable2.svg)](https://pypi.python.org/pypi/django-admin-sortable2)\n[![Django versions](https://img.shields.io/pypi/djversions/django-admin-sortable2)](https://pypi.python.org/pypi/django-admin-sortable2)\n[![Downloads](https://img.shields.io/pypi/dm/django-admin-sortable2.svg)](https://img.shields.io/pypi/dm/django-admin-sortable2.svg)\n[![Software license](https://img.shields.io/pypi/l/django-admin-sortable2.svg)](https://github.com/jrief/django-admin-sortable2/blob/master/LICENSE)\n\nCheck the demo:\n\n![Demo](https://raw.githubusercontent.com/jrief/django-admin-sortable2/master/docs/source/_static/django-admin-sortable2.gif)\n\nThis library offers simple mixin classes which enrich the functionality of any existing class inheriting from\n`admin.ModelAdmin`, `admin.StackedInline` or `admin.TabularInline`.\n\nIt thus makes it very easy to integrate with existing models and their model admin interfaces. Existing models can\ninherit from `models.Model` or any other class derived thereof. No special base class is required.\n\n\n## Version 2.0\n\nThis is a major rewrite of this **django-admin-sortable2**. It replaces the client side part against\n[Sortable.JS](https://sortablejs.github.io/Sortable/) and thus the need for jQuery.\n\nReplacing that library allowed me to add a new feature: Multiple items can now be dragged and dropped together.\n\n\n## Project's Home\n\nhttps://github.com/jrief/django-admin-sortable2\n\nDetailled documentation can be found on [ReadTheDocs](https://django-admin-sortable2.readthedocs.org/en/latest/).\n\nBefore reporting bugs or asking questions, please read the\n[contributor's guide](https://django-admin-sortable2.readthedocs.io/en/latest/contributing.html).\n\n\n## License\n\nLicensed under the terms of the MIT license.\n\nCopyright © 2013-2022 Jacob Rief and contributors.\n\nPlease follow me on\n[![Twitter Follow](https://img.shields.io/twitter/follow/jacobrief.svg?style=social&label=Jacob+Rief)](https://twitter.com/jacobrief)\nfor updates and other news.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Generic drag-and-drop sorting for the List, the Stacked- and the Tabular-Inlines Views in the Django Admin",
"version": "2.2.4",
"project_urls": {
"Homepage": "https://github.com/jrief/django-admin-sortable2"
},
"split_keywords": [
"django"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "66c3e804b1f04546c1060e566f35177c346590820a95bfb981d1f6360b419437",
"md5": "12fd5595a6c72a2850825c1def79596f",
"sha256": "406c5b6d6e84ad982cc6e53c3f34b5db5f0a3f34891126af90c9fb2c372f53d5"
},
"downloads": -1,
"filename": "django_admin_sortable2-2.2.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "12fd5595a6c72a2850825c1def79596f",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 90816,
"upload_time": "2024-11-15T09:43:13",
"upload_time_iso_8601": "2024-11-15T09:43:13.665049Z",
"url": "https://files.pythonhosted.org/packages/66/c3/e804b1f04546c1060e566f35177c346590820a95bfb981d1f6360b419437/django_admin_sortable2-2.2.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "eea10651ad69906f9ec9e73897353e933611550c6d31bfa9f721319c0ed99108",
"md5": "a225d884c379e35abd9e01fa9c331a96",
"sha256": "155e6114c7a931bceed9513af014f782ff1e643d99e81ddfef934f1daecd669d"
},
"downloads": -1,
"filename": "django_admin_sortable2-2.2.4.tar.gz",
"has_sig": false,
"md5_digest": "a225d884c379e35abd9e01fa9c331a96",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 68207,
"upload_time": "2024-11-15T09:43:15",
"upload_time_iso_8601": "2024-11-15T09:43:15.451979Z",
"url": "https://files.pythonhosted.org/packages/ee/a1/0651ad69906f9ec9e73897353e933611550c6d31bfa9f721319c0ed99108/django_admin_sortable2-2.2.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-15 09:43:15",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jrief",
"github_project": "django-admin-sortable2",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "django-admin-sortable2"
}