From 31946faf4fb669ee182b0ee027a286eb2fa9b35c Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 2 Nov 2020 12:34:24 +0300 Subject: [PATCH] [3.1.x] Updated {% static %} tag examples in docs to use single quotes where appropriate. Backport of 42f3fafdfab01f6b04b817c45140e8309eecf84c from master --- docs/howto/static-files/index.txt | 2 +- docs/intro/overview.txt | 2 +- docs/ref/settings.txt | 2 +- docs/ref/templates/builtins.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/howto/static-files/index.txt b/docs/howto/static-files/index.txt index 9bdfc2fd827..001ec50d6b1 100644 --- a/docs/howto/static-files/index.txt +++ b/docs/howto/static-files/index.txt @@ -26,7 +26,7 @@ Configuring static files .. code-block:: html+django {% load static %} - My image + My image #. Store your static files in a folder called ``static`` in your app. For example ``my_app/static/my_app/example.jpg``. diff --git a/docs/intro/overview.txt b/docs/intro/overview.txt index fa61e4ec571..c0d528527f7 100644 --- a/docs/intro/overview.txt +++ b/docs/intro/overview.txt @@ -307,7 +307,7 @@ Here's what the "base.html" template, including the use of :doc:`static files {% block title %}{% endblock %} - Logo + Logo {% block content %}{% endblock %} diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt index a02dcfcf686..4a12d9de0af 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -3486,7 +3486,7 @@ This would allow you to refer to the local file .. code-block:: html+django - + .. setting:: STATICFILES_STORAGE diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 54258155bde..a2e1eeecc6a 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2602,7 +2602,7 @@ app is installed, the tag will serve files using ``url()`` method of the storage specified by :setting:`STATICFILES_STORAGE`. For example:: {% load static %} - Hi! + Hi! It is also able to consume standard context variables, e.g. assuming a ``user_stylesheet`` variable is passed to the template::