Product
Introducing License Enforcement in Socket
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
A reusable app to add simple favicon.ico handling for your site.
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')),
)
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'
You can run the tests with via::
python setup.py test
or::
python runtests.py
PyPI (Downloads) https://pypi.python.org/pypi/django-favicon Official repository https://github.com/littlepea/django-favicon Issue tracker https://github.com/littlepea/django-favicon/issues
Evgeny Demchenko
_.. _Evgeny Demchenko: https://github.com/littlepea
FAQs
Reusable django app to handle /favicon.ico for your site
We found that django-favicon demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Ensure open-source compliance with Socket’s License Enforcement Beta. Set up your License Policy and secure your software!
Product
We're launching a new set of license analysis and compliance features for analyzing, managing, and complying with licenses across a range of supported languages and ecosystems.
Product
We're excited to introduce Socket Optimize, a powerful CLI command to secure open source dependencies with tested, optimized package overrides.