Created
November 14, 2014 17:10
-
-
Save doismellburning/27446fa68b603aba810e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from django.contrib.staticfiles.storage import staticfiles_storage | |
from django.views.generic.base import RedirectView | |
urlpatterns = patterns('', | |
rl(r'^favicon.ico$', RedirectView.as_view(url=staticfiles_storage.url('favicon.ico'), permanent=False), name="favicon"), | |
# ... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment