<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>{% block title %}{{ title }}{% endblock %}</title>
- <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}style/main.css" />
+ {% load static %}
+ <link rel="stylesheet" type="text/css" href="{% get_media_prefix %}style/main.css" />
{% block extrahead %}{% endblock %}
</head>
<body>