{ "info": { "author": "Richard Oyudo", "author_email": "ebube.rc@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "\n## Django site tag\n\nDjango site tag allows you to set 'tags' on each page of your website to indicate current environment, developemnt stages, or whatever else you may want to use such a feature for.\n\n![Demo Image](screenshots/demo.png \"Demo Image\")\n\n### Installation\n\n```bash\npip install git+https://github.com/yudori/django-site-tag.git\n```\n\n### Setup\n\nAfter installation, add the `django_site_tag` app name to the list of installed apps.\n\n```python\nINSTALLED_APPS = [\n ... # django apps\n\n 'django_site_tag',\n\n ... # custom apps\n]\n```\n\nAdd the site tag middleware to the middleware list. \n```python\nMIDDLEWARE = [\n ... # django middleware list\n\n 'django_site_tag.middleware.SiteTagMiddleware',\n\n ... # custom middleware list\n]\n```\n\n### Customization\n\nCustomization options are provided via django settings. Set any of the following values to add customizations to your site tags.\n\n| Setting Name | Type | Description | Example Value |\n| ------------------- | -------------- | -------------- | ----------------- |\n| `SITE_TAG_POSITION` | string | space-separated css position values in the order: top, right, bottom ,left representing the position of the site tag| '15px 0px 0px 15px'\n| `SITE_TAG_TEXT` | string | The text to be written on the tag | 'TEST'\n| `SITE_TAG_TEXT_STYLE` | string | The css style to be applied to the text | 'padding: 10px;'\n| `SITE_TAG_TEXT_BORDER_STYLE` | string | The css style to be applied to the border around the text | '2px dashed #ff0000;'\n| `SITE_TAG_IMAGE` | string | The url to the image file to be used instead of text | '/static/images/tag.jpg'\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/yudori/django-site-tag", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "django-site-tag", "package_url": "https://pypi.org/project/django-site-tag/", "platform": "", "project_url": "https://pypi.org/project/django-site-tag/", "project_urls": { "Homepage": "https://github.com/yudori/django-site-tag" }, "release_url": "https://pypi.org/project/django-site-tag/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "Tag each page on your website with an indicator text or image", "version": "0.0.1" }, "last_serial": 5138349, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f7e701a7f4f5f6beb635b5ed60d8be1e", "sha256": "98c932aae8bdc34ad7370dbbd55514ec16b602710cac37c57c33a4748f870e1c" }, "downloads": -1, "filename": "django_site_tag-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f7e701a7f4f5f6beb635b5ed60d8be1e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5047, "upload_time": "2019-04-13T15:09:56", "url": "https://files.pythonhosted.org/packages/35/38/dda25f85272f163750e6b6d75db996bd2d3f55026383da0359442dc5ede3/django_site_tag-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6565cf77190060108fb0813816166e52", "sha256": "f53bca2ba57e81b51316154924ca6eccd3cb5d3e72c4ab626f1ae05e1d997f21" }, "downloads": -1, "filename": "django-site-tag-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6565cf77190060108fb0813816166e52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3306, "upload_time": "2019-04-13T15:10:00", "url": "https://files.pythonhosted.org/packages/2f/c0/b12341021e5a6a121b576ec21adfcc74c32e1c05d8fdb0e6c185eb50309c/django-site-tag-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "f7e701a7f4f5f6beb635b5ed60d8be1e", "sha256": "98c932aae8bdc34ad7370dbbd55514ec16b602710cac37c57c33a4748f870e1c" }, "downloads": -1, "filename": "django_site_tag-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f7e701a7f4f5f6beb635b5ed60d8be1e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5047, "upload_time": "2019-04-13T15:09:56", "url": "https://files.pythonhosted.org/packages/35/38/dda25f85272f163750e6b6d75db996bd2d3f55026383da0359442dc5ede3/django_site_tag-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6565cf77190060108fb0813816166e52", "sha256": "f53bca2ba57e81b51316154924ca6eccd3cb5d3e72c4ab626f1ae05e1d997f21" }, "downloads": -1, "filename": "django-site-tag-0.0.1.tar.gz", "has_sig": false, "md5_digest": "6565cf77190060108fb0813816166e52", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3306, "upload_time": "2019-04-13T15:10:00", "url": "https://files.pythonhosted.org/packages/2f/c0/b12341021e5a6a121b576ec21adfcc74c32e1c05d8fdb0e6c185eb50309c/django-site-tag-0.0.1.tar.gz" } ] }