Updated example to use staticfiles static template tag, thanks reinout for the suggestion, refs #19675.
This commit is contained in:
parent
129d2e8f85
commit
f3ae67a62f
|
@ -276,7 +276,7 @@ Here's what the "base.html" template, including the use of :doc:`static files
|
||||||
|
|
||||||
.. code-block:: html+django
|
.. code-block:: html+django
|
||||||
|
|
||||||
{% load static %}
|
{% load staticfiles %}
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>{% block title %}{% endblock %}</title>
|
<title>{% block title %}{% endblock %}</title>
|
||||||
|
|
Loading…
Reference in New Issue