mirror of https://github.com/django/django.git
[1.5.X] Updated example to use staticfiles static template tag, thanks reinout for the suggestion, refs #19675.
Backport of f3ae67a62f
from master
This commit is contained in:
parent
0fa827c55f
commit
29b0d89ee9
|
@ -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