Replace deprecated django.contrib adminmedia with staticfiles.
[htsworkflow.git] / htsworkflow / frontend / templates / admin / index.html
index 4a5677d2da199df85f36ca47f552bc3b9889d2fa..66b6942d42cc7c17b533f28de154fab0b380fcb5 100644 (file)
@@ -1,7 +1,7 @@
 {% extends "admin/base_site.html" %}
 {% load i18n %}
 
-{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% load adminmedia %}{% admin_media_prefix %}css/dashboard.css" />{% endblock %}
+{% block extrastyle %}{{ block.super }}<link rel="stylesheet" type="text/css" href="{% load staticfiles %}{% static "css/dashboard.css" %}"/>{% endblock %}
 
 {% block coltype %}colMS{% endblock %}