Skip to content

Commit

Permalink
Use static templatetag instead of STATIC_URL in test_project
Browse files Browse the repository at this point in the history
  • Loading branch information
jpic committed Apr 2, 2013
1 parent 846685c commit 957e4e1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test_project/templates/admin/base_site.html
@@ -1,11 +1,12 @@
{% extends "admin/base.html" %} {% extends "admin/base.html" %}
{% load static %}


{% block branding %} {% block branding %}
<h1>session-security demo</h1> <h1>session-security demo</h1>
{% endblock %} {% endblock %}


{% block footer %} {% block footer %}
{{ block.super }} {{ 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' %} {% include 'session_security/all.html' %}
{% endblock %} {% endblock %}

0 comments on commit 957e4e1

Please sign in to comment.