{ "info": { "author": "Ionel Cristian Maries", "author_email": "contact@ionelmc.ro", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: Microsoft :: Windows", "Operating System :: OS Independent", "Operating System :: POSIX", "Operating System :: Unix", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Internet :: WWW/HTTP", "Topic :: Utilities" ], "description": "===========================\n django-admin-utils\n===========================\n\n| |docs| |travis| |appveyor| |coveralls| |landscape| |scrutinizer|\n| |version| |downloads| |wheel| |supported-versions| |supported-implementations|\n\n.. |docs| image:: https://readthedocs.org/projects/django-admin-utils/badge/?style=flat\n :target: https://readthedocs.org/projects/django-admin-utils\n :alt: Documentation Status\n\n.. |travis| image:: http://img.shields.io/travis/ionelmc/django-admin-utils/master.png?style=flat\n :alt: Travis-CI Build Status\n :target: https://travis-ci.org/ionelmc/django-admin-utils\n\n.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/ionelmc/django-admin-utils?branch=master\n :alt: AppVeyor Build Status\n :target: https://ci.appveyor.com/project/ionelmc/django-admin-utils\n\n.. |coveralls| image:: http://img.shields.io/coveralls/ionelmc/django-admin-utils/master.png?style=flat\n :alt: Coverage Status\n :target: https://coveralls.io/r/ionelmc/django-admin-utils\n\n.. |landscape| image:: https://landscape.io/github/ionelmc/django-admin-utils/master/landscape.svg?style=flat\n :target: https://landscape.io/github/ionelmc/django-admin-utils/master\n :alt: Code Quality Status\n\n.. |version| image:: http://img.shields.io/pypi/v/django-admin-utils.png?style=flat\n :alt: PyPI Package latest release\n :target: https://pypi.python.org/pypi/django-admin-utils\n\n.. |downloads| image:: http://img.shields.io/pypi/dm/django-admin-utils.png?style=flat\n :alt: PyPI Package monthly downloads\n :target: https://pypi.python.org/pypi/django-admin-utils\n\n.. |wheel| image:: https://pypip.in/wheel/django-admin-utils/badge.png?style=flat\n :alt: PyPI Wheel\n :target: https://pypi.python.org/pypi/django-admin-utils\n\n.. |supported-versions| image:: https://pypip.in/py_versions/django-admin-utils/badge.png?style=flat\n :alt: Supported versions\n :target: https://pypi.python.org/pypi/django-admin-utils\n\n.. |supported-implementations| image:: https://pypip.in/implementation/django-admin-utils/badge.png?style=flat\n :alt: Supported imlementations\n :target: https://pypi.python.org/pypi/django-admin-utils\n\n.. |scrutinizer| image:: https://img.shields.io/scrutinizer/g/ionelmc/django-admin-utils/master.png?style=flat\n :alt: Scrtinizer Status\n :target: https://scrutinizer-ci.com/g/ionelmc/django-admin-utils/\n\nUtility code and patterns. \n\nRequirements\n============\n\n:OS: Any\n:Runtime: Python 2.6, 2.7, 3.2, 3.3 or PyPy\n:Packages: Django>=1.4 (including 1.7); Django>=1.1 probably works but it's not tested, those releases should not be used (they are insecure).\n\nTerse admin.py\n==============\n\n::\n\n from django.contrib import admin\n from admin_utils import register, inline\n\n from .models import MyModel, OtherModel\n\n @register(MyModel)\n class MyModelAdmin(admin.ModelAdmin):\n inlines = inline(OtherModel),\n\nIf you want custom admin sites::\n\n customsite = admin.AdminSite()\n\n @register(MyModel, site=customsite)\n class MyModelAdmin(admin.ModelAdmin):\n inlines = inline(OherModel),\n\n\nMock admin (mount your views in admin using model wrappers)\n===========================================================\n\nHave you ever wanted a page in the admin that appears in the app list but you don't have any\nmodels ? Now you can have that without patching up the admin Site or the templates. Just put this\nin your admin.py::\n\n from django.conf.urls import patterns, url\n from admin_utils import make_admin_class\n\n make_admin_class(\"Test1\", patterns(\"test_app.views\",\n url(r'^$', 'root', name='test_app_test1_changelist'),\n url(r'^level1/$', 'level1', name='level-1'),\n url(r'^level1/level2/$', 'level2', name='level-2'),\n ), \"test_app\")\n\nTo use different admin site::\n\n make_admin_class(\"Test1\", patterns(\"test_app.views\",\n url(r'^$', 'root', name='test_app_test1_changelist'),\n url(r'^level1/$', 'level1', name='level-1'),\n url(r'^level1/level2/$', 'level2', name='level-2'),\n ), \"test_app\", site=customsite)\n\nAdmin mixins\n============\n\nadmin_utils.mixins.FoldableListFilterAdminMixin\n-----------------------------------------------\n\nAdds nice filter toggling with cookie support. Largely based on `django-foldable-list-filter\n`_ but without the transition effect and no pictures.\n\nExample::\n\n from admin_utils.mixins import FoldableListFilterAdminMixin\n\n class MyModelAdmin(FoldableListFilterAdminMixin, admin.ModelAdmin):\n pass\n\nLooks like this:\n\n .. image:: https://raw.githubusercontent.com/ionelmc/django-admin-utils/master/docs/FoldableListFilterAdminMixin.png\n :alt: Screenshort of FoldableListFilterAdminMixin\n\nadmin_utils.mixins.FullWidthAdminMixin\n--------------------------------------\n\nMake the changelist expand instead of having the width of the windows and having that nasty inner scrollbar. You never gonna notice that if\nyour table is long !\n\nExample::\n\n from admin_utils.mixins import FoldableListFilterAdminMixin\n\n class MyModelAdmin(FoldableListFilterAdminMixin, admin.ModelAdmin):\n pass\n\nYou probably didn't even notice you had this problem:\n\n.. image:: https://raw.githubusercontent.com/ionelmc/django-admin-utils/master/docs/FullWidthAdminMixin.png\n :alt: Screenshort of FullWidthAdminMixin", "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/ionelmc/django-admin-utils", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "django-admin-utils", "package_url": "https://pypi.org/project/django-admin-utils/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-admin-utils/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/ionelmc/django-admin-utils" }, "release_url": "https://pypi.org/project/django-admin-utils/0.3.0/", "requires_dist": null, "requires_python": null, "summary": "Utility code and patterns.", "version": "0.3.0" }, "last_serial": 1439724, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "6eeeedf57237b8c3efba8b9dc190c8c7", "sha256": "8eed19f6dfda96abf5ac3dd786b76d4bf8a8fffc77d6ca38bf2c8e97f701c188" }, "downloads": -1, "filename": "django-admin-utils-0.1.tar.gz", "has_sig": false, "md5_digest": "6eeeedf57237b8c3efba8b9dc190c8c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1607, "upload_time": "2012-12-13T05:03:13", "url": "https://files.pythonhosted.org/packages/f1/a5/511376e71d103a41808dc434481b809952118798c39ecfb9bd113a965211/django-admin-utils-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "9c63c18c74efdac06665369865fb48ca", "sha256": "0006ec8d79f3fc47c00057b9cebd9b1a8905cdcf09b23fc41c37ecab2cab0b88" }, "downloads": -1, "filename": "django-admin-utils-0.1.1.tar.gz", "has_sig": false, "md5_digest": "9c63c18c74efdac06665369865fb48ca", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2504, "upload_time": "2012-12-13T05:06:46", "url": "https://files.pythonhosted.org/packages/be/70/43815e8053abf3c731c90f9f1e880b8c041d40273a795d3686d10dc65e3d/django-admin-utils-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "80cb747632103fad6737485855d6c37c", "sha256": "bc1819d2d8e8c78ed67da3c30a4c26179212fda2efca41cea4c492299b7642b2" }, "downloads": -1, "filename": "django-admin-utils-0.1.2.tar.gz", "has_sig": false, "md5_digest": "80cb747632103fad6737485855d6c37c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3403, "upload_time": "2013-03-29T21:36:46", "url": "https://files.pythonhosted.org/packages/d1/d3/32f8382e5a918bd4cb1aee364c326896f451b2ff3353284307257a8910f9/django-admin-utils-0.1.2.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2068c940d009da42989c32aa7eebcc06", "sha256": "1fdbe299c36426d8a80a80a092f31a0968e8d30f7115e37b20ab6438891048c8" }, "downloads": -1, "filename": "django-admin-utils-0.2.0.tar.gz", "has_sig": false, "md5_digest": "2068c940d009da42989c32aa7eebcc06", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11322, "upload_time": "2014-02-01T21:23:51", "url": "https://files.pythonhosted.org/packages/50/80/c32c00f548d15167f1144233412b11c993189914375d33cecee94257a836/django-admin-utils-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "8596bc100458d0934544b59f1ae5894c", "sha256": "66d8ea87e4ebb0796ab08d5b996474b635c1d30a96d9d3e9750fb4eb5f6a8a46" }, "downloads": -1, "filename": "django_admin_utils-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8596bc100458d0934544b59f1ae5894c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9924, "upload_time": "2015-02-26T18:22:44", "url": "https://files.pythonhosted.org/packages/06/59/2f23a3f27a4351d7388e0e80f3700cbc7cec13b4f547b5755d9b54c0d9e2/django_admin_utils-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b59fa176c5d026f2610cda13d58e286", "sha256": "4fd3445b33d445015056f2bb9797d3223bd4041c2ceb0ccffde2c07b39ecd53b" }, "downloads": -1, "filename": "django-admin-utils-0.3.0.tar.gz", "has_sig": false, "md5_digest": "3b59fa176c5d026f2610cda13d58e286", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60228, "upload_time": "2014-02-02T19:16:54", "url": "https://files.pythonhosted.org/packages/e5/29/30dbce3e54584bb308964bb044088757a13aec39b2d9b4f3dd1874818624/django-admin-utils-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "8596bc100458d0934544b59f1ae5894c", "sha256": "66d8ea87e4ebb0796ab08d5b996474b635c1d30a96d9d3e9750fb4eb5f6a8a46" }, "downloads": -1, "filename": "django_admin_utils-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "8596bc100458d0934544b59f1ae5894c", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 9924, "upload_time": "2015-02-26T18:22:44", "url": "https://files.pythonhosted.org/packages/06/59/2f23a3f27a4351d7388e0e80f3700cbc7cec13b4f547b5755d9b54c0d9e2/django_admin_utils-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3b59fa176c5d026f2610cda13d58e286", "sha256": "4fd3445b33d445015056f2bb9797d3223bd4041c2ceb0ccffde2c07b39ecd53b" }, "downloads": -1, "filename": "django-admin-utils-0.3.0.tar.gz", "has_sig": false, "md5_digest": "3b59fa176c5d026f2610cda13d58e286", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 60228, "upload_time": "2014-02-02T19:16:54", "url": "https://files.pythonhosted.org/packages/e5/29/30dbce3e54584bb308964bb044088757a13aec39b2d9b4f3dd1874818624/django-admin-utils-0.3.0.tar.gz" } ] }