diff --git a/config/urls.py b/config/urls.py index 9b091d3f..b8d07b29 100644 --- a/config/urls.py +++ b/config/urls.py @@ -1,6 +1,7 @@ from django.conf import settings from django.conf.urls.static import static from django.contrib import admin +from django.shortcuts import redirect from django.urls import include, path from django.views import defaults as default_views from django.views.generic import TemplateView @@ -26,6 +27,7 @@ "collaborative_analysis/", include("primed.collaborative_analysis.urls", namespace="collaborative_analysis"), ), + path("favicon.ico", lambda _: redirect("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 %}