From a0ae260191d7fa6948d21f21157a14398253c7e6 Mon Sep 17 00:00:00 2001 From: eric Date: Sun, 29 Jul 2018 15:39:06 -0400 Subject: [PATCH] favicon.ico -> static --- frontend/templates/base.html | 2 +- frontend/urls.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/templates/base.html b/frontend/templates/base.html index 0adcfaeb..b765e40c 100644 --- a/frontend/templates/base.html +++ b/frontend/templates/base.html @@ -10,7 +10,7 @@ {% block extra_meta %}{% endblock %} - + {% block extra_css %}{% endblock %} diff --git a/frontend/urls.py b/frontend/urls.py index fe8e3b69..9868b007 100644 --- a/frontend/urls.py +++ b/frontend/urls.py @@ -117,6 +117,7 @@ urlpatterns = [ url('^404testing/$', TemplateView.as_view(template_name='404.html') ), url('^500testing/$', TemplateView.as_view(template_name='500.html')), url('^robots.txt$', TemplateView.as_view(template_name='robots.txt',content_type='text/plain')), + url(r'favicon.ico$', views.static_redirect_view, {'file_name': 'favicon.ico', 'dir': 'images'}, name="favicon"), url(r"^emailshare/(?P\w*)/?$", views.emailshare, name="emailshare"), url(r"^feedback/campaign/(?P\d+)/?$", views.ask_rh, name="ask_rh"), url(r"^feedback/$", views.feedback, name="feedback"),