Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use static templatetag instead of STATIC_URL in test_project
- Loading branch information
Showing
1 changed file
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -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 %} |