django-favicon
A reusable app to add simple favicon.ico handling for your site.
Installation
Install “django-favicon” using pip or easy_install:
pip install django-favicon
Add “favicon” to your INSTALLED_APPS in settings.py:
INSTALLED_APPS = (
...
'favicon',
)
Add favicon URL patterns to urls.py:
urlpatterns = patterns('',
...
url(r'^', include('favicon.urls')),
)
Usage
Put favicon.ico into your STATIC_ROOT. and you good to go, /favicon.ico will automatically redirect to /static/favicon.ico if your STATIC_URL = ‘/static/’.
Otherwise you can set a custom path to your favicon using FAVICON_PATH setting. For example:
FAVICON_PATH = STATIC_URL + 'images/favicon.png'
Running the Tests
You can run the tests with via:
python setup.py test
or:
python runtests.py
Contribute
- PyPI (Downloads)
- Official repository
- Issue tracker
Credits
Developed and maintained under supervision of Evgeny Demchenko
Metadata
Release files for django-favicon 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-favicon-0.1.4.tar.gz | 3.8 kB | Without provenance | Details |
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_favicon-0.1.4-py3.9.egg | Legacy Egg format | - | - | Details |
| django_favicon-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 13.2 kB
Release files / django-favicon-0.1.4.tar.gz
| Download URL | django-favicon-0.1.4.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
651316bda1ab3d47f199b59d1132d2e4ac7bbc4a84b0f7ec9ce323050ff9b344
|
|
BLAKE2b-256 checksum How to use checksums |
7c348f713c27d2a8f13dd657ba74e932362c4215cef98bba65f545b0dc097077
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / django_favicon-0.1.4-py3.9.egg
| Download URL | django_favicon-0.1.4-py3.9.egg |
|---|---|
| Size | 4.9 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
d74c64e62ee888705e68f1db2b32d08ce211e8c422239b0d37c058df717ddb80
|
|
BLAKE2b-256 checksum How to use checksums |
46d608233ccee81570180c3ce0d34f7727229b5c80fc11bbeca67029d6fbf9e5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / django_favicon-0.1.4-py3-none-any.whl
| Download URL | django_favicon-0.1.4-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f40655411d1ba442fe11f76a55954316c2fbdf3e95a5bb7bd218d8bc0fec9a5
|
|
BLAKE2b-256 checksum How to use checksums |
aade853bbd196919b459ebe34220abac09ff119c497872b64b5d080fb96b5f6e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Security for django-favicon 0.1.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.