{ "info": { "author": "Boni \u0110uki\u0107", "author_email": "boni@djukic.com.hr", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Django", "Framework :: Django :: 1.10", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Topic :: Utilities" ], "description": "# Django Simple Admin Overlay\n\n**Lightweight Django app which displays simple overlay with admin links on the frontend pages.**\n\nDjango Simple Admin Overlay replaces the need to manually append `/admin` to the browser's URL bar or to bookmark the administration link during the development of Django projects.\n\nVersion: 0.2\n\n# Screenshots\n\n### Position: top, state: open\n\n![Top Open Toolbar](docs/img/django_simple_admin_overlay_top_open.png?raw=true \"Top Open Toolbar\")\n\n### Position: top, state: closed\n\n![Top Closed Toolbar](docs/img/django_simple_admin_overlay_top_closed.png?raw=true \"Top Closed Toolbar\")\n\n# Requirements\n\n* Python (3.5)\n* Django (1.10)\n\nCurrently tested only on the above noted versions of Python and Django. Will test further with older versions and update the list.\n\n# Installation\n\nInstall using `pip`\n\n pip install django-simple-admin-overlay\n\nAdd `'simple_admin_overlay'` to your `INSTALLED_APPS` setting\n\n INSTALLED_APPS = (\n ...\n 'simple_admin_overlay',\n )\n\nEnable `simple_admin_overlay` middleware\n\n MIDDLEWARE = [\n ...\n 'simple_admin_overlay.middleware.SimpleAdminOverlayMiddleware',\n ]\n\n# Configuration\n\nYou can change a limited number of options by adding `SIMPLE_ADMIN_OVERLAY_CONFIG` dictionary to your `settings.py`.\n\nDefault values are:\n\n SIMPLE_ADMIN_OVERLAY_CONFIG = {\n 'OVERLAY_POSITION': 'top',\n 'DEFAULT_STATE': 'open',\n 'SHOW_APPS_ONLY': False,\n 'EXCLUDE_APPS': [],\n 'EXCLUDE_MODELS': {},\n }\n\n#### `OVERLAY_POSITION (default='top')`\nDefines the display positioning of the fixed overlay.\n\nAvailable values: `top`, `right`, `bottom`, `left`\n\n#### `DEFAULT_STATE (default='open')`\nDefines the default state of the overlay, i.e. will it be shown or hidden on page load.\n\nAvailable values: `open`, `closed`\n\n#### `SHOW_APPS_ONLY (default=False)`\nIf set to `True` only the application links will be shown, i.e. model links will be hidden.\n\n#### `EXCLUDE_APPS (default=[])`\nApplications defined within this list will not be listed in the overlay. Use the same application name format as used in the `INSTALLED_APPS` setting.\n\n#### `EXCLUDE_APPS (default={})`\nModels defined within this dictionary will not be listed in the overlay. Use the same model name format as the name of the classes within `models.py`.\n\nExample:\n\n EXCLUDE_MODELS': {\n 'spam_app': ['spamAppModel', 'AnotherSpamAppModel'],\n 'eggs_app': ['EggsAppModel'],\n }\n\n\n# Common issues\n\nMake sure that you're logged in as an authenticated user and have access to the admin interface, i.e. that your `User` instance has `is_authenticated=True` and `is_staff=True`\n\n# To-do list\n\n- Add `DEVELOPMENT_MODE` option which would depend on the `DEBUG` setting\n- Persist toolbar state (open, closed) via cookie or local storage", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bonidjukic/django-simple-admin-overlay", "keywords": null, "license": "MIT License", "maintainer": null, "maintainer_email": null, "name": "django-simple-admin-overlay", "package_url": "https://pypi.org/project/django-simple-admin-overlay/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/django-simple-admin-overlay/", "project_urls": { "Homepage": "https://github.com/bonidjukic/django-simple-admin-overlay" }, "release_url": "https://pypi.org/project/django-simple-admin-overlay/0.2/", "requires_dist": null, "requires_python": null, "summary": "Lightweight Django app which displays simple overlay with admin links on the frontend pages.", "version": "0.2" }, "last_serial": 2744182, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "c5a447cef6c9570b18e48714385e1ad8", "sha256": "2bbcc16fbfaa9990bc8c962ca00441e53368851977ba3947570d3a485d70e680" }, "downloads": -1, "filename": "django-simple-admin-overlay-0.1.tar.gz", "has_sig": false, "md5_digest": "c5a447cef6c9570b18e48714385e1ad8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 290718, "upload_time": "2017-03-30T15:34:36", "url": "https://files.pythonhosted.org/packages/01/43/8999da3dc5a1f1ee58eb402e34770325b39298645ea0c489f09c36e4b428/django-simple-admin-overlay-0.1.tar.gz" } ], "0.2": [ { "comment_text": "", "digests": { "md5": "d48195ecc13154fb07de76982a58f260", "sha256": "867ab88fa2e2ea699deca32f8ba17a306643e30e481ec4920b7bf3fdd7c145d5" }, "downloads": -1, "filename": "django-simple-admin-overlay-0.2.tar.gz", "has_sig": false, "md5_digest": "d48195ecc13154fb07de76982a58f260", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 291388, "upload_time": "2017-03-31T15:59:59", "url": "https://files.pythonhosted.org/packages/bb/b7/c09f2a9878d0fccca079e6d5bd0fc1e543b8cfe1a65dd66c61cad4b04e76/django-simple-admin-overlay-0.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d48195ecc13154fb07de76982a58f260", "sha256": "867ab88fa2e2ea699deca32f8ba17a306643e30e481ec4920b7bf3fdd7c145d5" }, "downloads": -1, "filename": "django-simple-admin-overlay-0.2.tar.gz", "has_sig": false, "md5_digest": "d48195ecc13154fb07de76982a58f260", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 291388, "upload_time": "2017-03-31T15:59:59", "url": "https://files.pythonhosted.org/packages/bb/b7/c09f2a9878d0fccca079e6d5bd0fc1e543b8cfe1a65dd66c61cad4b04e76/django-simple-admin-overlay-0.2.tar.gz" } ] }