Django 1.7 & Python 3.4 compatibility.
[cas.git] / src / cas / templates / base.html
index a0dd91e..11f9ce8 100644 (file)
@@ -1,9 +1,10 @@
 <!DOCTYPE html>
 <html>
+    {% load static %}
     <head>
         <meta charset="utf-8" />
         <title>{% block title %}Fundacja Nowoczesna Polska - Logowanie{% block subtitle %}{% endblock subtitle %}{% endblock title%}</title>
-        <link rel="stylesheet" href="{{ MEDIA_URL }}static/css/main.css"/>
+        <link rel="stylesheet" href="{% static 'css/main.css' %}"/>
         {% block extrahead %}
         {% endblock %}
     </head>
@@ -14,7 +15,7 @@
         <a href="/">
             <img title="Fundacja Nowoczesna Polska"
                 alt="Fundacja Nowoczesna Polska"
-                src="http://turniej.wolnelektury.pl/static/img/fnp_black.png"></a>
+                src="{% static 'fnp_black.png' %}"></a>
 
     </header>
     </div>