Browse files

Use static templatetag instead of STATIC_URL in test_project

  • Loading branch information...
1 parent 846685c commit 957e4e17dfdce8b9c7fabbe8f54d5b85bbdb61d5 @jpic jpic committed Apr 2, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 test_project/templates/admin/base_site.html
View
3 test_project/templates/admin/base_site.html
@@ -1,11 +1,12 @@
{% extends "admin/base.html" %}
+{% load static %}
{% block branding %}
<h1>session-security demo</h1>
{% endblock %}
{% block footer %}
{{ block.super }}
- <script src="{{ STATIC_URL }}/jquery.js" type="text/javascript"></script>
+ <script src="{% static 'jquery.js' %}" type="text/javascript"></script>
{% include 'session_security/all.html' %}
{% endblock %}

0 comments on commit 957e4e1

Please sign in to comment.