diff --git a/leadsdb/urls.py b/leadsdb/urls.py index c5e2f34..f332e11 100644 --- a/leadsdb/urls.py +++ b/leadsdb/urls.py @@ -14,5 +14,5 @@ from django.urls import re_path if settings.DEBUG: urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT) urlpatterns += [ - re_path(r'^favicon\.ico$', RedirectView.as_view(url=settings.STATIC_URL + 'favicon-32x32.png', permanent=True)), + re_path(r'^favicon\.ico$', RedirectView.as_view(url=settings.STATIC_URL + 'favicon-32x32.png', permanent=True), name='favicon'), ]