{ "info": { "author": "Robert Kovac", "author_email": "robert.kovac@gmail.com", "bugtrack_url": null, "classifiers": [ "Framework :: Django", "Framework :: Django :: 3.0", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Fieldsets with inlines\n### Mix inlines and fieldsets in any order in Django admin.\n\n## What is it?\n\nDjango administration has nice feature to render related models as inlines\n**under** the fieldsets out of the box. Unfortunately there is no easy\nway to render inlines between fieldsets.\n\nBut when the size of the model becomes bigger, ordering of fieldsets and\nrelated inlines becomes critical for the usability.\n\nThis package makes it easy to mix fieldsets and inlines in any order\nyou want with minimal changes required to your existing code.\n\n\n## Requirements\n\n- Python: 3.4+\n- Django: 2.0+\n\n## Installation\n\n```\npip install django-fieldsets-with-inlines\n```\n\nAdd `fieldsets_with_inlines` to your INSTALLED_APPS Django settings.py:\n\n```python\nINSTALLED_APPS = [\n ...\n 'fieldsets_with_inlines',\n ...\n]\n```\n\n## Usage\n\nIn your `admin.py` import `FieldsetsInlineMixin`, rename `fieldsets`\nproperty to `fieldsets_with_inlines` and list inlines right between your\nfieldsets. You could also remove `inlines` property:\n\n\n```python\nfrom fieldsets_with_inlines import FieldsetsInlineMixin\n\n...\n\nclass TestAdmin(FieldsetsInlineMixin, admin.ModelAdmin):\n fieldsets_with_inlines = [\n ('Objekt', {\n 'fields': [\n ('ID_RNO', 'id', 'kljuc', 'slug'),\n 'naziv',\n 'kategorija']}),\n LastnistvoInline,\n ('Kontaktni podatki', {\n 'fields': [\n ('kontaktna_oseba', 'email', 'poslji_obvestila')]}),\n KontaktInline,\n ('Dostop', {\n 'fields': [\n 'users',\n ('cas_vpisa', 'zadnja_sprememba', 'cas_zadnje_posodobitve')]}),\n OdjavaInline\n ]\n```\n\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/robertkovac/django-fieldsets-with-inlines", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "django-fieldsets-with-inlines", "package_url": "https://pypi.org/project/django-fieldsets-with-inlines/", "platform": "", "project_url": "https://pypi.org/project/django-fieldsets-with-inlines/", "project_urls": { "Homepage": "https://github.com/robertkovac/django-fieldsets-with-inlines" }, "release_url": "https://pypi.org/project/django-fieldsets-with-inlines/0.6/", "requires_dist": null, "requires_python": ">=3.4", "summary": "Mixin inlines and fieldsets in Django admin.", "version": "0.6", "yanked": false, "yanked_reason": null }, "last_serial": 7622693, "releases": { "0.2": [ { "comment_text": "", "digests": { "md5": "1712812624dc9540958540ad618d0b4e", "sha256": "bb07f39548eb6be5601a9406d5ec85f4e0f652526db1b8cadbb05b63c9bb6183" }, "downloads": -1, "filename": "django_fieldsets_with_inlines-0.2.tar.gz", "has_sig": false, "md5_digest": "1712812624dc9540958540ad618d0b4e", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4428, "upload_time": "2019-10-28T11:02:49", "upload_time_iso_8601": "2019-10-28T11:02:49.171588Z", "url": "https://files.pythonhosted.org/packages/11/59/3385c22d5618a1e8579185c0338d4fc658ebe5ab98aea4e3f4e3fa1ae447/django_fieldsets_with_inlines-0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.5": [ { "comment_text": "", "digests": { "md5": "0120a2d683885f73093c31cfbe14e110", "sha256": "8da9a3de47b9f90068170c580a5b39718f16525f3a94d388e20cfa19f92e6ee0" }, "downloads": -1, "filename": "django_fieldsets_with_inlines-0.5.tar.gz", "has_sig": false, "md5_digest": "0120a2d683885f73093c31cfbe14e110", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4256, "upload_time": "2019-10-30T08:30:17", "upload_time_iso_8601": "2019-10-30T08:30:17.136972Z", "url": "https://files.pythonhosted.org/packages/3c/f3/7d62be686cef3fab6cec4e61ad3fe09c3c0761ac00cce242b3483d9b3a90/django_fieldsets_with_inlines-0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.6": [ { "comment_text": "", "digests": { "md5": "8efc9da5f53d9ff1e751c4615cc75805", "sha256": "26eb222ef96a009c6a9ef301c8c906d8314c557a9814fc8bdaaa0ac22728580d" }, "downloads": -1, "filename": "django_fieldsets_with_inlines-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "8efc9da5f53d9ff1e751c4615cc75805", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 5374, "upload_time": "2020-07-03T09:33:06", "upload_time_iso_8601": "2020-07-03T09:33:06.164974Z", "url": "https://files.pythonhosted.org/packages/0c/75/c9082217ee0fc6e7cad6a6393ef25ccea25bfc48a0e157e936543771e027/django_fieldsets_with_inlines-0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3acd7005ca6b9325549b97e4b79310fa", "sha256": "dec73d0d91f238906c93a7b99c545167a8ab0cc98f8af202d01df0cfc32a71cb" }, "downloads": -1, "filename": "django_fieldsets_with_inlines-0.6.tar.gz", "has_sig": false, "md5_digest": "3acd7005ca6b9325549b97e4b79310fa", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4297, "upload_time": "2020-07-03T09:33:08", "upload_time_iso_8601": "2020-07-03T09:33:08.732690Z", "url": "https://files.pythonhosted.org/packages/1c/71/d4c5e0ac11afd144e4842598c706901dc5d66a62ab37f8a9c87b6b410c40/django_fieldsets_with_inlines-0.6.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8efc9da5f53d9ff1e751c4615cc75805", "sha256": "26eb222ef96a009c6a9ef301c8c906d8314c557a9814fc8bdaaa0ac22728580d" }, "downloads": -1, "filename": "django_fieldsets_with_inlines-0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "8efc9da5f53d9ff1e751c4615cc75805", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.4", "size": 5374, "upload_time": "2020-07-03T09:33:06", "upload_time_iso_8601": "2020-07-03T09:33:06.164974Z", "url": "https://files.pythonhosted.org/packages/0c/75/c9082217ee0fc6e7cad6a6393ef25ccea25bfc48a0e157e936543771e027/django_fieldsets_with_inlines-0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "3acd7005ca6b9325549b97e4b79310fa", "sha256": "dec73d0d91f238906c93a7b99c545167a8ab0cc98f8af202d01df0cfc32a71cb" }, "downloads": -1, "filename": "django_fieldsets_with_inlines-0.6.tar.gz", "has_sig": false, "md5_digest": "3acd7005ca6b9325549b97e4b79310fa", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.4", "size": 4297, "upload_time": "2020-07-03T09:33:08", "upload_time_iso_8601": "2020-07-03T09:33:08.732690Z", "url": "https://files.pythonhosted.org/packages/1c/71/d4c5e0ac11afd144e4842598c706901dc5d66a62ab37f8a9c87b6b410c40/django_fieldsets_with_inlines-0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }