{ "info": { "author": "Kostya Esmukov", "author_email": "kostya@esmukov.ru", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "License :: OSI Approved :: GNU Lesser General Public License v3 (LGPLv3)", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5" ], "description": "=======================\ndjango-admin-top-models\n=======================\n\n\n.. image:: https://img.shields.io/pypi/dm/django-admin-top-models.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django-admin-top-models/\n :alt: Downloads\n\n.. image:: https://img.shields.io/pypi/v/django-admin-top-models.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django-admin-top-models/\n :alt: Latest Version\n\n.. image:: https://img.shields.io/travis/KostyaEsmukov/django-admin-top-models.svg?style=flat-square\n :target: https://travis-ci.org/KostyaEsmukov/django-admin-top-models\n :alt: Travis-ci\n\n.. image:: https://img.shields.io/coveralls/KostyaEsmukov/django-admin-top-models.svg?style=flat-square\n :target: https://coveralls.io/github/KostyaEsmukov/django-admin-top-models\n :alt: Coveralls\n\n.. image:: https://img.shields.io/github/license/KostyaEsmukov/django-admin-top-models.svg?style=flat-square\n :target: https://pypi.python.org/pypi/django-admin-top-models/\n :alt: License\n\n\nPut most used and important models to the top of your Django admin index.\n\n.. image:: https://cloud.githubusercontent.com/assets/2418596/16707176/8b4f1a28-45ce-11e6-991a-01e17d7d5ba8.png\n\nINSTALL\n-------\n\n::\n\n pip install django-admin-top-models\n\n\nConfiguration\n-------------\n\n\n1. Add ``admin_top_models`` to ``INSTALLED_APPS``::\n\n INSTALLED_APPS = (\n ...\n 'admin_top_models',\n ...\n )\n\n\n2. Add ``admin_top_models.middleware.AdminTopModelsMiddleware`` to ``MIDDLEWARE_CLASSES``::\n\n MIDDLEWARE_CLASSES = (\n ...\n 'admin_top_models.middleware.AdminTopModelsMiddleware',\n ...\n )\n\n3. Add ``ADMIN_TOP_MODELS_CONFIG`` setting to your settings.py::\n\n ADMIN_TOP_MODELS_CONFIG = (\n ('firstapp', ('First', 'Third')),\n ('secondapp', ('DModel', 'CModel', 'AModel')),\n ('auth',),\n )\n\n4. Adjust other options (if you need to. These are defaults)::\n\n # should the '--------------------' spacer be added between your top and the rest models?\n ADMIN_TOP_MODELS_INSERT_SPACER = True\n\n ADMIN_TOP_MODELS_SPACER_NAME = '-' * 20\n\n # if this is set to True, order of apps and models will be the same across different languages,\n # otherwise django's order by translated names will be used.\n ADMIN_TOP_MODELS_ALWAYS_SORT_BY_OBJECT_NAME = False\n\n\n\n=========\nCHANGELOG\n=========\n\n1.1.0 (2016-08-04)\n------------------\n\n* Fixed setuptools complaining about missing django\n\n1.0.0 (2016-07-19)\n------------------\n\n* Fixed settings being deadly cached\n* Added more tests to reach 100% coverage\n\n\n0.0.3 (2016-07-09)\n------------------\n\n* Fixed RST inconsistent title levels in the README\n\n\n0.0.2 (2016-07-09)\n------------------\n\n* Added README\n* Fixed IndexError when a second item of the config tuple is absent, like in ``('thirdapp',)``\n* Fixed spacer position shift when the config includes models which are not actually present\n\n\n0.0.1 (2016-07-08)\n------------------\n\n* Initial working version", "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/KostyaEsmukov/django-admin-top-models", "keywords": "django modeladmin admin reorder top", "license": "LPGL", "maintainer": null, "maintainer_email": null, "name": "django-admin-top-models", "package_url": "https://pypi.org/project/django-admin-top-models/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-admin-top-models/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/KostyaEsmukov/django-admin-top-models" }, "release_url": "https://pypi.org/project/django-admin-top-models/1.1.0/", "requires_dist": null, "requires_python": null, "summary": "Put most used and important models to the top of your Django admin index.", "version": "1.1.0" }, "last_serial": 2261241, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "0a44b37738275651de92c5fcbc10882e", "sha256": "388f2e2170655de115882017cdc083524e26e165465dd900548e7ce41145b829" }, "downloads": -1, "filename": "django-admin-top-models-0.0.1.tar.gz", "has_sig": false, "md5_digest": "0a44b37738275651de92c5fcbc10882e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8380, "upload_time": "2016-07-08T19:26:19", "url": "https://files.pythonhosted.org/packages/1c/94/3ec8b25a8b0a7551f51d7360675edc7629596fb7abf89a91217b52b4b45a/django-admin-top-models-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "2e0b47538eb40b05a234e9ee588a3392", "sha256": "d65b4bf673d657ce02f3eafca99086b1e7434168f8ffe6a59929279b26d9ae0f" }, "downloads": -1, "filename": "django-admin-top-models-0.0.2.tar.gz", "has_sig": true, "md5_digest": "2e0b47538eb40b05a234e9ee588a3392", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9588, "upload_time": "2016-07-09T09:32:16", "url": "https://files.pythonhosted.org/packages/a4/4b/3f69e369d266276fbf461abf6561b39c5e20fb60224d7c0b5b22dff90fbc/django-admin-top-models-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "7b583fe6f790e7ab14b4fe6a7409acf2", "sha256": "c16bafe7921c3d00f06108f756912c4df9d217420447210c51eb67b2308a7b2b" }, "downloads": -1, "filename": "django-admin-top-models-0.0.3.tar.gz", "has_sig": true, "md5_digest": "7b583fe6f790e7ab14b4fe6a7409acf2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9622, "upload_time": "2016-07-09T09:44:22", "url": "https://files.pythonhosted.org/packages/4c/c5/8a45f528166b481a8fd63b4a00add1fd0aedcc7dfa5010a7b0aadc6d0210/django-admin-top-models-0.0.3.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "aeb189d8819c9bf40ef0b0bfa4b54802", "sha256": "ba141e854002fca961bff0f06d57716059f33591c240a27bc32c98c15677d539" }, "downloads": -1, "filename": "django-admin-top-models-1.0.0.tar.gz", "has_sig": true, "md5_digest": "aeb189d8819c9bf40ef0b0bfa4b54802", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 8977, "upload_time": "2016-07-19T15:01:03", "url": "https://files.pythonhosted.org/packages/f1/bc/1ce36b4428e7a3516e64139170f5ef232ce62e0ffb78a1e512e1c3ce940a/django-admin-top-models-1.0.0.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "a38685ab13babd1a5e731e19d2818923", "sha256": "ffc40d07e7cfdb7b0c02ac92940c7b5de268afbd9838d411d77938e01eeffdb1" }, "downloads": -1, "filename": "django-admin-top-models-1.1.0.tar.gz", "has_sig": true, "md5_digest": "a38685ab13babd1a5e731e19d2818923", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9004, "upload_time": "2016-08-04T05:46:42", "url": "https://files.pythonhosted.org/packages/04/ae/6da5df3bc4faee31382fc24438d728155f7d55026ed170d69e4e8da10c37/django-admin-top-models-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a38685ab13babd1a5e731e19d2818923", "sha256": "ffc40d07e7cfdb7b0c02ac92940c7b5de268afbd9838d411d77938e01eeffdb1" }, "downloads": -1, "filename": "django-admin-top-models-1.1.0.tar.gz", "has_sig": true, "md5_digest": "a38685ab13babd1a5e731e19d2818923", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9004, "upload_time": "2016-08-04T05:46:42", "url": "https://files.pythonhosted.org/packages/04/ae/6da5df3bc4faee31382fc24438d728155f7d55026ed170d69e4e8da10c37/django-admin-top-models-1.1.0.tar.gz" } ] }