{ "info": { "author": "arteria GMBH", "author_email": "arteria@arteria.ch", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Environment :: Web Environment", "Framework :: Django", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Topic :: Internet :: WWW/HTTP", "Topic :: Internet :: WWW/HTTP :: Dynamic Content" ], "description": "# django-favicon-plus\n\n[![PyPI](https://img.shields.io/pypi/v/django-favicon-plus.svg)](https://pypi.python.org/pypi/django-favicon-plus)\n\nDjango favicon plus is a simple django app which allows you to upload a image and it renders a wide variety for html link tags to display the favicon. These different tags are used for bookmark links on mobile devices or they appear if you favorite a website in your browser. \n\n## How to use:\nInstall django-favicon using PIP.\n```shell\npip install django-favicon-plus\n \npip install git+https://github.com/arteria/django-favicon-plus.git\n```\n\nAdd app to `INSTALLED_APPS` List in your `settings.py` file, make sure `sites`-app is also installed and a URL is specified in the admin backend\n\n```python\nINSTALLED_APPS = (\n ...\n 'django.contrib.sites',\n ...\n 'favicon',\n ...\n)\n``` \nThe default `FAVICON_CONFIG` look like this, if you want something else you can define it in your settings.py. The key of the dictionary is the value for the `rel` attribute of the link tag, while the list in the value are the sizes for the `size` attribute and the image resizing.\n```python\nFAVICON_CONFIG = {\n 'shortcut icon': [16 ,32 ,48 ,128, 192],\n 'touch-icon': [196],\n 'icon': [196],\n 'apple-touch-icon': [57, 72, 114, 144, 180],\n 'apple-touch-icon-precomposed': [57, 72, 76, 114, 120, 144, 152,180],\n}\n```\nUpload an image in the admin backend --> all the size will be created, its best to take a larger base favicon\n\nuse the templatetag in your base.html\n```html+django\n{% load favtags %}\n \n{% placeFavicon %}\n```\nthis will create:\n```html\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n```\n## Management\n\nYou can upload multiple images, but only one is set as favicon and used.\n\n\n## Contribution\n\nIf you want to contribute something send a PR.\n\n\n# Source\n\n### Based on \n\n[Favicon Cheat Sheet on github](https://github.com/audreyr/favicon-cheat-sheet)\n\n### Favicon\n16x16 .ico or better .png\n```html\n\n```\n### apple-touch-icon(-precomposed)\n57x57, 72x72, 114x114, and 144x144\nhighest resolution for ipad retina 144x144.png precomposed(=iOS won\u2019t add any effects to the icon)\n```html\n\n\n\n\n\n\n\n\n\n```\nAndroid versions 1.5 and 1.6 will read the second tag (with \"-precomposed\"), and versions 2.1 and newer will read the first tag.\n\nGoogle's specifications say that you should use 48x48 pixel PNGs, but you can use a large image (128x128), like Google does for its own apps.\n\nhttps://mathiasbynens.be/notes/touch-icons\n\n\n\n| django-favicon-plus is free software. If you find it useful and would like to give back, please consider to make a donation using [Bitcoin](https://blockchain.info/payment_request?address=1AJkbQdcNkrHzxi91mB1kkPxh4t4BJ4hu4) or [PayPal](https://www.paypal.me/arteriagmbh). Thank you! |\n| ----- |", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/arteria/django-favicon-plus/", "keywords": "", "license": "BSD License", "maintainer": "", "maintainer_email": "", "name": "django-favicon-plus", "package_url": "https://pypi.org/project/django-favicon-plus/", "platform": "", "project_url": "https://pypi.org/project/django-favicon-plus/", "project_urls": { "Homepage": "https://github.com/arteria/django-favicon-plus/" }, "release_url": "https://pypi.org/project/django-favicon-plus/0.0.8/", "requires_dist": null, "requires_python": "", "summary": "Favicon app for django", "version": "0.0.8" }, "last_serial": 3553945, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "5b35743b3b436d41e28cb2135addcc89", "sha256": "dc344398da4be999418a2e6f4f5457dd703139e1fadedc332b6532ca199a7132" }, "downloads": -1, "filename": "django-favicon-plus-0.0.1.tar.gz", "has_sig": false, "md5_digest": "5b35743b3b436d41e28cb2135addcc89", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5492, "upload_time": "2015-05-27T12:21:09", "url": "https://files.pythonhosted.org/packages/5d/bd/3b16a701006a4b8b690193a83751ece19c02db0e6bcd56cfbebd39bf9694/django-favicon-plus-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "ab6c57a4f79c389692c1e2f63d430f68", "sha256": "6c2ebd9ad661eda7e719b9f33ccc8402c57320a248a7fd1c93284a78f657b9d3" }, "downloads": -1, "filename": "django-favicon-plus-0.0.2.tar.gz", "has_sig": false, "md5_digest": "ab6c57a4f79c389692c1e2f63d430f68", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5540, "upload_time": "2015-10-28T10:01:51", "url": "https://files.pythonhosted.org/packages/b5/ab/95efdf72e9c4c331aeaa9f6cfff648d6c48e260ec72ceb9ae92714b51a42/django-favicon-plus-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "b5a9e662e3bf5af08254a6e3bc348f29", "sha256": "1439246347925fc4ba9b5d09914a33d96f6b1afd0f1650157068dd0696628e37" }, "downloads": -1, "filename": "django-favicon-plus-0.0.3.tar.gz", "has_sig": false, "md5_digest": "b5a9e662e3bf5af08254a6e3bc348f29", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6396, "upload_time": "2016-01-04T16:51:18", "url": "https://files.pythonhosted.org/packages/ab/0e/090b0dc1a7b9ad3b280bda2459e17d8ddbe766df58e87b4228b53f96ef28/django-favicon-plus-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "588b81f33a0234678c9ab74e64652e35", "sha256": "3fabfc61866b487dedd46ecf4f288fc78192810edbfec24c00f407b0f8402286" }, "downloads": -1, "filename": "django-favicon-plus-0.0.4.tar.gz", "has_sig": false, "md5_digest": "588b81f33a0234678c9ab74e64652e35", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6427, "upload_time": "2016-01-05T12:52:13", "url": "https://files.pythonhosted.org/packages/ec/b3/500e71cc5ee5bd359bcdb932e25acff35c28289c9d0bd83c49ab4a331957/django-favicon-plus-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "ddae3e9f54f150b04e7e7e0bf7d1db84", "sha256": "5677e3fd5112db8d5449981a566923e62b1df3081f4610bb81eb9a2f49c16ab5" }, "downloads": -1, "filename": "django-favicon-plus-0.0.5.tar.gz", "has_sig": false, "md5_digest": "ddae3e9f54f150b04e7e7e0bf7d1db84", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5902, "upload_time": "2016-01-08T09:26:11", "url": "https://files.pythonhosted.org/packages/ea/48/b3cefd16d1c775e53e2b42186fc6d6c93f7635b57247a4c729a5f86abcab/django-favicon-plus-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "42efa50395032b88875451119eeb8cdf", "sha256": "e0f81c6239ca6d85a7bc8fd8cf644d9cb2e02da6a501abba7a6eee8c8a73d409" }, "downloads": -1, "filename": "django-favicon-plus-0.0.6.tar.gz", "has_sig": false, "md5_digest": "42efa50395032b88875451119eeb8cdf", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6039, "upload_time": "2017-02-27T07:54:33", "url": "https://files.pythonhosted.org/packages/cd/c1/edcf144e54608358981ed42c2f016c04347d6625c5ecdf9ddabd3866580b/django-favicon-plus-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "35e6ee25da3c306bd749e29f32ee9b3f", "sha256": "824da4ecd3501a157d9538ed1b0672227b2a8a5a3d940bd075ba5b5c636fb400" }, "downloads": -1, "filename": "django-favicon-plus-0.0.7.tar.gz", "has_sig": false, "md5_digest": "35e6ee25da3c306bd749e29f32ee9b3f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6290, "upload_time": "2017-09-07T12:58:10", "url": "https://files.pythonhosted.org/packages/f6/38/86d7d191392c7541b2190029ba74c73d54e1f712185852b2eca2f05c6751/django-favicon-plus-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "c29e95fab5e474fc8d6a8e2b65f1fffa", "sha256": "3394a951d8dc611eb1ea027ad1181d7f650ca234506585b27e93d7ed06b981bf" }, "downloads": -1, "filename": "django-favicon-plus-0.0.8.tar.gz", "has_sig": false, "md5_digest": "c29e95fab5e474fc8d6a8e2b65f1fffa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6395, "upload_time": "2018-02-05T16:48:34", "url": "https://files.pythonhosted.org/packages/b5/99/e9783a1492aa5903a163ef333f4d57899dca140694a3056e390ead46e52b/django-favicon-plus-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c29e95fab5e474fc8d6a8e2b65f1fffa", "sha256": "3394a951d8dc611eb1ea027ad1181d7f650ca234506585b27e93d7ed06b981bf" }, "downloads": -1, "filename": "django-favicon-plus-0.0.8.tar.gz", "has_sig": false, "md5_digest": "c29e95fab5e474fc8d6a8e2b65f1fffa", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6395, "upload_time": "2018-02-05T16:48:34", "url": "https://files.pythonhosted.org/packages/b5/99/e9783a1492aa5903a163ef333f4d57899dca140694a3056e390ead46e52b/django-favicon-plus-0.0.8.tar.gz" } ] }