# 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/a0/4b/84bd2c5708ceb2696c53ae5d705e53d74826b3110cd390a7ae22ca783e61/django_admin_sortable2-2.2.1.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.1",
"project_urls": {
"Homepage": "https://github.com/jrief/django-admin-sortable2"
},
"split_keywords": [
"django"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "8df75ef3d7f661fe150d87c2c132c60b033efb9534fb33eccf7880ec1c50742a",
"md5": "c57f855dc07f86688aa809dd47f4ba92",
"sha256": "ae7ec1f0974202e27748fb618b13f23d1b1d44764374b09ad0a9a763f30b054f"
},
"downloads": -1,
"filename": "django_admin_sortable2-2.2.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "c57f855dc07f86688aa809dd47f4ba92",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 77665,
"upload_time": "2024-05-17T07:14:46",
"upload_time_iso_8601": "2024-05-17T07:14:46.114087Z",
"url": "https://files.pythonhosted.org/packages/8d/f7/5ef3d7f661fe150d87c2c132c60b033efb9534fb33eccf7880ec1c50742a/django_admin_sortable2-2.2.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a04b84bd2c5708ceb2696c53ae5d705e53d74826b3110cd390a7ae22ca783e61",
"md5": "706c66994735e617fe2d1b06b5545699",
"sha256": "30a9527f93fc61b7a2c5954db57d8428931e37f462c3b46cb101053dc5f51751"
},
"downloads": -1,
"filename": "django_admin_sortable2-2.2.1.tar.gz",
"has_sig": false,
"md5_digest": "706c66994735e617fe2d1b06b5545699",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 62926,
"upload_time": "2024-05-17T07:14:50",
"upload_time_iso_8601": "2024-05-17T07:14:50.029427Z",
"url": "https://files.pythonhosted.org/packages/a0/4b/84bd2c5708ceb2696c53ae5d705e53d74826b3110cd390a7ae22ca783e61/django_admin_sortable2-2.2.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-05-17 07:14:50",
"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"
}