{ "info": { "author": "Nina Pavlich", "author_email": "nina@ninalp.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": "django-inline-wrestler\n=======================\n\nMake django admin lists easier to sort with jQuery and Grappelli.\n\nThis plugin turns an ordinary order field into a high-powered sorting tool including:\n* Drag-and-Drop\n* Jump to Top and Jump to Bottom buttons\n* Jump one up and Jump one bottom\n* Send directly to a position in the list\n* Sort by a custom field\n\nFor inline admin forms:\n* Adjust table headers so they line up with the actual columns\n* Make table headers sortable, so you can sort by a particular field (supports sorting by text inputs, text areas, check boxes, image uploads, and fks)\n* Positioning order buttons anywhere in the table\n\n![Screenshot of Django inline items](/../master/docs/screenshots/screenshot.png?raw=true \"Screenshot of Tabular Inline Items\")\n\n![Screenshot of Django inline items](/../master/docs/screenshots/simplified.png?raw=true \"Screenshot of simplified Inline Items\")\n\nRequirements\n=====\nRequires Django and django-grappelli\n\nUsage\n=====\n1. pip install django-inline-wrestler\n2. Add 'django_inline_wrestler' to your INSTALLED_APPS list in your project's settings.py\n\n```python\nfrom django_inline_wrestler.admin import TabularInlineOrderable, AdminListOrderable\n\nfrom .models import *\n\nclass ItemInline(TabularInlineOrderable):\n\t\"\"\"\n\tTo bring drag-and-drop functionality to an inline:\n\t\"\"\"\n\tmodel = Item\n\tfields = ('order', 'name', 'txtid', 'description')\n\tprepopulated_fields = {'txtid': ('name',)}\n\t\nclass SubItemInline(TabularInlineOrderable):\n\t\"\"\"\n\tTo bring drag-and-drop functionality to an inline, sorting on a custom field:\n\t\"\"\"\n\tmodel = SubItem\n\tfields = ('position', 'name', 'txtid')\n\tprepopulated_fields = {'txtid': ('name',)}\n\t\n\t#To override which field is used for ordering, add a class starting with order-by-[fieldname]. Make sure to also include\n\tclasses = ['django-inline-wrestler', 'order-by-position']\n\n\t#Add any of the following css classes to this list to disable any of the buttons:\n\t#'inline-wrestler-drag-disabled', 'inline-wrestler-move-disabled', \n\t#'inline-wrestler-move-bottom-disabled', 'inline-wrestler-move-top-disabled', \n\t#'inline-wrestler-move-up-disabled', 'inline-wrestler-move-down-disabled',\n\t#'inline-wrestler-jump-disabled'\n\n\nclass ObjectAdmin(AdminListOrderable):\n\t\"\"\"\n\tTo bring drag-and-drop functionality to a changelist view:\n\t\"\"\"\n\tmodel = Object\n\tfields = ('priority', 'title')\n\tlist_editable = ('priority',)\n\n\tchange_list_template = 'admin/django_inline_wrestler/change_list.html'\n custom_list_order_by = 'priority'\n\n\tinlines = [ItemInline, SubItemInline]\n\n\n\n```\n", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ninapavlich/django-inline-wrestler", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-inline-wrestler", "package_url": "https://pypi.org/project/django-inline-wrestler/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-inline-wrestler/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ninapavlich/django-inline-wrestler" }, "release_url": "https://pypi.org/project/django-inline-wrestler/5.4/", "requires_dist": null, "requires_python": null, "summary": "Wrestle your django inlines with jQuery and Grappelli.", "version": "5.4" }, "last_serial": 2856590, "releases": { "3.2": [ { "comment_text": "", "digests": { "md5": "9b707adc8e2a5fa0c8a0bece86e8b4ff", "sha256": "5a121cb32296c77b81dee50a10792c780fc324b2ea90315a70483a54231113cc" }, "downloads": -1, "filename": "django-inline-wrestler-3.2.tar.gz", "has_sig": false, "md5_digest": "9b707adc8e2a5fa0c8a0bece86e8b4ff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10455, "upload_time": "2015-03-04T07:03:16", "url": "https://files.pythonhosted.org/packages/5c/05/276114ca2208bd4df8747c8e6dd4e9dc6cb13f5fc3267290faa9ffc52147/django-inline-wrestler-3.2.tar.gz" } ], "4.0": [ { "comment_text": "", "digests": { "md5": "8fe8dc48016f9e1d34b0b835c3b8f72a", "sha256": "4aae840a1d353cadf3b2910b0b7cfe9fdcc381c279509caacaee24806c7a64ea" }, "downloads": -1, "filename": "django-inline-wrestler-4.0.tar.gz", "has_sig": false, "md5_digest": "8fe8dc48016f9e1d34b0b835c3b8f72a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10587, "upload_time": "2015-03-19T02:00:50", "url": "https://files.pythonhosted.org/packages/ae/45/54659c82a1212c0a1d2eeb7013b8e45466828e29fb1522b2bfaa62853ef0/django-inline-wrestler-4.0.tar.gz" } ], "4.1": [ { "comment_text": "", "digests": { "md5": "c2650972ccf31aff54a3fdd5625e4307", "sha256": "37cb948f3e73f6af9af5a71f9349e2469b1e564f3785bf5c78761a9a51eca77b" }, "downloads": -1, "filename": "django-inline-wrestler-4.1.tar.gz", "has_sig": false, "md5_digest": "c2650972ccf31aff54a3fdd5625e4307", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10623, "upload_time": "2015-03-19T02:30:17", "url": "https://files.pythonhosted.org/packages/79/f2/693c123be2455029ccc994f7e7488b3564df002e7962627766cbbc5ca579/django-inline-wrestler-4.1.tar.gz" } ], "4.2": [ { "comment_text": "", "digests": { "md5": "5d06fc5ae171701b69bfca97c60e7ea8", "sha256": "4c003d38ecb45afe9f6591e0b058151585036909542a096a5baf453cb51604c4" }, "downloads": -1, "filename": "django-inline-wrestler-4.2.tar.gz", "has_sig": false, "md5_digest": "5d06fc5ae171701b69bfca97c60e7ea8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10662, "upload_time": "2015-04-16T17:17:39", "url": "https://files.pythonhosted.org/packages/66/18/39718f2dbaca11450fc648c166c9fe614a3ff29235ad74594336c9757ac1/django-inline-wrestler-4.2.tar.gz" } ], "4.3": [ { "comment_text": "", "digests": { "md5": "5c9262a3d3050fd949fed67f2d4f7071", "sha256": "a12a0eeaa6c65650716ccbb080e40168a3aa79532523c055f50809351f188879" }, "downloads": -1, "filename": "django-inline-wrestler-4.3.tar.gz", "has_sig": false, "md5_digest": "5c9262a3d3050fd949fed67f2d4f7071", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10796, "upload_time": "2015-04-16T23:07:33", "url": "https://files.pythonhosted.org/packages/d1/f8/78d047797fb0d3a415eddcff62c95417027b30bf8e880ff4c2a49757194c/django-inline-wrestler-4.3.tar.gz" } ], "4.4": [ { "comment_text": "", "digests": { "md5": "dbae78807e515aee35c1f5c6efe7dd6e", "sha256": "11736a38090aad1ac81127674adfd58f072dc6d0685c1d96d18b1db53a896ac7" }, "downloads": -1, "filename": "django-inline-wrestler-4.4.tar.gz", "has_sig": false, "md5_digest": "dbae78807e515aee35c1f5c6efe7dd6e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10803, "upload_time": "2015-04-16T23:10:39", "url": "https://files.pythonhosted.org/packages/11/24/68d6fe23c76d8d3ac80bb556252c23a7709e4eb879fa40cbd9db1cf18581/django-inline-wrestler-4.4.tar.gz" } ], "4.5": [ { "comment_text": "", "digests": { "md5": "35bcef50463df1f452f72cafe6352999", "sha256": "de88d231e1700af8e40c8fc21441ce457d95fedf31d50568f0f6353162e3f2d3" }, "downloads": -1, "filename": "django-inline-wrestler-4.5.tar.gz", "has_sig": false, "md5_digest": "35bcef50463df1f452f72cafe6352999", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10776, "upload_time": "2015-07-08T22:25:52", "url": "https://files.pythonhosted.org/packages/db/fa/fef53473aa8f1b5c5732afcb9a1c0de2640180cf85887f03a8639db46b70/django-inline-wrestler-4.5.tar.gz" } ], "4.6": [ { "comment_text": "", "digests": { "md5": "b8e797128870f341ebbdbe3801721b8b", "sha256": "a4455cba07df3ab0f997494b2eb67d8b9d3bc35ec284b64665c8c6ed356b84f1" }, "downloads": -1, "filename": "django-inline-wrestler-4.6.tar.gz", "has_sig": false, "md5_digest": "b8e797128870f341ebbdbe3801721b8b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10765, "upload_time": "2015-08-04T01:42:21", "url": "https://files.pythonhosted.org/packages/2f/12/bf226fe71fc06c635d418e641c2685281d012bb728b3cef17b648419babc/django-inline-wrestler-4.6.tar.gz" } ], "5.0": [ { "comment_text": "", "digests": { "md5": "004499b31e35d2c2fd42d754a0dc662a", "sha256": "39d53a7c3ef084241afe58c7b69f7e66a47523706c6a02aad3f2739f617a9b75" }, "downloads": -1, "filename": "django-inline-wrestler-5.0.tar.gz", "has_sig": false, "md5_digest": "004499b31e35d2c2fd42d754a0dc662a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11392, "upload_time": "2017-01-05T19:25:38", "url": "https://files.pythonhosted.org/packages/59/8c/fcd606f761d28a75caf393d89dd657458c90749be1fefa007b87d669581a/django-inline-wrestler-5.0.tar.gz" } ], "5.1": [ { "comment_text": "", "digests": { "md5": "4311c8c0e20d0388725ddbde162baab2", "sha256": "6b0ad97522660544d6eb9b80953a97fdde6db3db5cd405a51f9d5aca300b8b64" }, "downloads": -1, "filename": "django-inline-wrestler-5.1.tar.gz", "has_sig": false, "md5_digest": "4311c8c0e20d0388725ddbde162baab2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11667, "upload_time": "2017-01-05T20:05:01", "url": "https://files.pythonhosted.org/packages/59/a8/a9298ba020170228b504111a051c2efd09e17fe684ebbb97433684ef1992/django-inline-wrestler-5.1.tar.gz" } ], "5.2": [ { "comment_text": "", "digests": { "md5": "1dd8b6fe525830eabfd9d185f5aa1274", "sha256": "0db81525e9243266a0329916128f43ed3c6a0a2358769439f9d62875d1872791" }, "downloads": -1, "filename": "django-inline-wrestler-5.2.tar.gz", "has_sig": false, "md5_digest": "1dd8b6fe525830eabfd9d185f5aa1274", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11895, "upload_time": "2017-02-08T22:03:24", "url": "https://files.pythonhosted.org/packages/c1/c3/69efe2e682aab219cceeb0c1fffa32d91ded70c113918b5408e996bfb42e/django-inline-wrestler-5.2.tar.gz" } ], "5.3": [ { "comment_text": "", "digests": { "md5": "646573d2b3c91d3df04206336deefeea", "sha256": "26879497ea6f1b48d23de0496982a33063a8518fbdc51e96ff06bd4a2937a069" }, "downloads": -1, "filename": "django-inline-wrestler-5.3.tar.gz", "has_sig": false, "md5_digest": "646573d2b3c91d3df04206336deefeea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12160, "upload_time": "2017-02-09T00:15:42", "url": "https://files.pythonhosted.org/packages/c1/5d/c0b8c4ade497b33a9d03fa8777a93b03ffbecb3bd2ae85a1f681a017807a/django-inline-wrestler-5.3.tar.gz" } ], "5.4": [ { "comment_text": "", "digests": { "md5": "31d273e16c58348c23ea3b5b598d1660", "sha256": "b59b35ac12aaf1bdb18844292e30cc3e1b2fc283e09d8fc708f49e2943cba735" }, "downloads": -1, "filename": "django-inline-wrestler-5.4.tar.gz", "has_sig": false, "md5_digest": "31d273e16c58348c23ea3b5b598d1660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12195, "upload_time": "2017-05-07T01:50:50", "url": "https://files.pythonhosted.org/packages/71/41/924d851d51afdf07d5e47edca50ff8fd8f17d2cbd076bec38b90a334bede/django-inline-wrestler-5.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "31d273e16c58348c23ea3b5b598d1660", "sha256": "b59b35ac12aaf1bdb18844292e30cc3e1b2fc283e09d8fc708f49e2943cba735" }, "downloads": -1, "filename": "django-inline-wrestler-5.4.tar.gz", "has_sig": false, "md5_digest": "31d273e16c58348c23ea3b5b598d1660", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 12195, "upload_time": "2017-05-07T01:50:50", "url": "https://files.pythonhosted.org/packages/71/41/924d851d51afdf07d5e47edca50ff8fd8f17d2cbd076bec38b90a334bede/django-inline-wrestler-5.4.tar.gz" } ] }