diff --git a/config/urls.py b/config/urls.py index 9b091d3f..ce11199f 100644 --- a/config/urls.py +++ b/config/urls.py @@ -4,6 +4,7 @@ from django.urls import include, path from django.views import defaults as default_views from django.views.generic import TemplateView +from django.views.generic.base import RedirectView urlpatterns = [ path("", TemplateView.as_view(template_name="pages/home.html"), name="home"), @@ -26,6 +27,7 @@ "collaborative_analysis/", include("primed.collaborative_analysis.urls", namespace="collaborative_analysis"), ), + path("favicon.ico", RedirectView.as_view(url="/static/images/favicons/primed-favicon.png", permanent=True)), ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) diff --git a/primed/templates/admin/base_site.html b/primed/templates/admin/base_site.html new file mode 100644 index 00000000..21c0e91c --- /dev/null +++ b/primed/templates/admin/base_site.html @@ -0,0 +1,7 @@ +{% extends "admin/base_site.html" %} +{% load static %} +{% block extrahead %} + + + +{% endblock %}