From bc7668eb515b8ee7a32fbfb64dc4dff4d06abb5b Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Fri, 17 Jan 2014 15:58:19 -0500 Subject: Fixed #18942 -- Clarified usage of {% get_static_prefix %}. Thanks Aymeric for the suggestion. --- docs/ref/templates/builtins.txt | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'docs/ref/templates') diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index ecd39f1adc..31f6379b0d 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2501,10 +2501,9 @@ get_static_prefix .. highlight:: html+django -If you're not using :class:`~django.template.RequestContext`, or if you need -more control over exactly where and how :setting:`STATIC_URL` is injected -into the template, you can use the :ttag:`get_static_prefix` template tag -instead:: +You should prefer the :ttag:`static` template tag, but if you need more control +over exactly where and how :setting:`STATIC_URL` is injected into the template, +you can use the :ttag:`get_static_prefix` template tag:: {% load static %} Hi! -- cgit v1.3