From 42f3fafdfab01f6b04b817c45140e8309eecf84c Mon Sep 17 00:00:00 2001 From: Nikita Sobolev Date: Mon, 2 Nov 2020 12:34:24 +0300 Subject: [PATCH] Updated {% static %} tag examples in docs to use single quotes where appropriate. --- 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 9bdfc2fd82..001ec50d6b 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 fa61e4ec57..c0d528527f 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 e1b1410f62..606ef98744 100644 --- a/docs/ref/settings.txt +++ b/docs/ref/settings.txt @@ -3471,7 +3471,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 7fd44b01d7..1c79f3a2f5 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2618,7 +2618,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::