{ "info": { "author": "Bertrand Bordage", "author_email": "bordage.bertrand@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP" ], "description": "Django-super-inlines\n====================\n\nFor now, it only adds nested inlines (see `Django#9025 `_).\nBut I also plan to add other features I developed for my own projects.\n\n**There is no unit tests for the moment, so use at your own risks.**\n\n**It would be extremely useful if someone took time to write Selenium tests.**\n\n\nUsage\n-----\n\nIt\u2019s only compatible with Django 1.7.2 to 1.7.8 (I tested) and probably 1.8.\nDon\u2019t even try with previous versions, django-super-inlines relies on changes\nthat happened between 1.6 and 1.7.2.\n\nFor design reasons, you can\u2019t nest inlines inside tabular inlines,\nonly inside stacked inlines.\n\n1. `pip install django-super-inlines`\n2. Add ``'super_inlines',`` to ``INSTALED_APPS``\n **before** ``'django.contrib.admin',``\n3. If you use django-grappelli, add ``'super_inlines.grappelli_integration',``\n to ``INSTALLED_APPS`` **before** ``'grappelli',``\n4. Inherit from ``SuperModelAdmin`` instead of ``ModelAdmin``,\n ``SuperInlineModelAdmin`` instead of ``InlineModelAdmin``, and use the class\n attribute ``inlines`` in inlines as you do in model admins\n\nExample usage:\n\n.. code-block:: python\n\n from django.contrib.admin import TabularInline, StackedInline, site\n from super_inlines.admin import SuperInlineModelAdmin, SuperModelAdmin\n\n from .models import *\n\n\n class RoomInlineAdmin(SuperInlineModelAdmin, TabularInline):\n model = Room\n\n\n class HouseInlineAdmin(SuperInlineModelAdmin, StackedInline):\n model = House\n inlines = (RoomInlineAdmin,)\n\n\n class OwnerAdmin(SuperModelAdmin):\n inlines = (HouseInlineAdmin,)\n\n\n site.register(Owner, OwnerAdmin)", "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/BertrandBordage/django-super-inlines", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-super-inlines", "package_url": "https://pypi.org/project/django-super-inlines/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-super-inlines/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/BertrandBordage/django-super-inlines" }, "release_url": "https://pypi.org/project/django-super-inlines/0.1.4/", "requires_dist": null, "requires_python": null, "summary": "Adds useful features to inlines, such as the ability to nest them.", "version": "0.1.4" }, "last_serial": 1556579, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "43be242bf7a99b10d2b6d0aa6cfb5fd7", "sha256": "cac305bad0389502d18f8055b68015be557039bbbf87e770c4921606bd6170f3" }, "downloads": -1, "filename": "django-super-inlines-0.1.0.tar.gz", "has_sig": false, "md5_digest": "43be242bf7a99b10d2b6d0aa6cfb5fd7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10868, "upload_time": "2015-05-11T23:50:06", "url": "https://files.pythonhosted.org/packages/7b/b9/9a1388cd9fe99a70e344a5e76f342cd39cf063f7edb7562c5eba9725152c/django-super-inlines-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "bc874a2f88ce9025305396ebbeb1895c", "sha256": "cd7235369d8020fc94dcb65f25b8a442ea60e35412c3339343b27cbe4314cbd1" }, "downloads": -1, "filename": "django-super-inlines-0.1.1.tar.gz", "has_sig": false, "md5_digest": "bc874a2f88ce9025305396ebbeb1895c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13247, "upload_time": "2015-05-12T01:02:26", "url": "https://files.pythonhosted.org/packages/d8/95/ed136fc41056a91b3668daae75a77b7e885909e4c9eb220f70fe23813caf/django-super-inlines-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "1f559f7491bd2fb518de63dc5cf692bf", "sha256": "af6b53d9d8a1739af66b671e983e5c48a4848d53b3e671edbf308f4299300ab3" }, "downloads": -1, "filename": "django-super-inlines-0.1.2.tar.gz", "has_sig": false, "md5_digest": "1f559f7491bd2fb518de63dc5cf692bf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13260, "upload_time": "2015-05-14T22:35:50", "url": "https://files.pythonhosted.org/packages/35/12/da91bc0586c3f4517e0a5cb594df5d6693b0d848cf516608f0d446c2cf11/django-super-inlines-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "76bf4dcd9a7899409ca0c61ed419abb7", "sha256": "146bf5cde71c5857b85b5fd20863e53b7a785d7415c51aa6676ff38632af832e" }, "downloads": -1, "filename": "django-super-inlines-0.1.3.tar.gz", "has_sig": false, "md5_digest": "76bf4dcd9a7899409ca0c61ed419abb7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19844, "upload_time": "2015-05-15T00:28:45", "url": "https://files.pythonhosted.org/packages/64/19/3dfeab1b1b1829907f141da87d529812c1a1efca386cf9c7a196019df8cf/django-super-inlines-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "6376b67452f41e7d8a705dfb9e293c14", "sha256": "303f1bd737a4d3e81eed84bdda52ae171efc47ab3a799569abdb44cc7f253ca5" }, "downloads": -1, "filename": "django-super-inlines-0.1.4.tar.gz", "has_sig": false, "md5_digest": "6376b67452f41e7d8a705dfb9e293c14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19978, "upload_time": "2015-05-21T15:29:46", "url": "https://files.pythonhosted.org/packages/31/b2/1de7673f5509950c063878ce158cbe4d0a17b732c0246d6c305c7764a927/django-super-inlines-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6376b67452f41e7d8a705dfb9e293c14", "sha256": "303f1bd737a4d3e81eed84bdda52ae171efc47ab3a799569abdb44cc7f253ca5" }, "downloads": -1, "filename": "django-super-inlines-0.1.4.tar.gz", "has_sig": false, "md5_digest": "6376b67452f41e7d8a705dfb9e293c14", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 19978, "upload_time": "2015-05-21T15:29:46", "url": "https://files.pythonhosted.org/packages/31/b2/1de7673f5509950c063878ce158cbe4d0a17b732c0246d6c305c7764a927/django-super-inlines-0.1.4.tar.gz" } ] }