summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
Diffstat (limited to 'docs')
-rw-r--r--docs/intro/tutorial03.txt2
-rw-r--r--docs/ref/contrib/messages.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/intro/tutorial03.txt b/docs/intro/tutorial03.txt
index 3159ee88c2..ac77b7608d 100644
--- a/docs/intro/tutorial03.txt
+++ b/docs/intro/tutorial03.txt
@@ -277,7 +277,7 @@ you want to change the way the page looks, you'll have to edit this Python code.
So let's use Django's template system to separate the design from Python.
First, create a directory ``polls`` in your template directory you specified
-in setting:`TEMPLATE_DIRS`. Within that, create a file called ``index.html``.
+in :setting:`TEMPLATE_DIRS`. Within that, create a file called ``index.html``.
Put the following code in that template:
.. code-block:: html+django
diff --git a/docs/ref/contrib/messages.txt b/docs/ref/contrib/messages.txt
index 40f7d41ceb..dd7c8dbd65 100644
--- a/docs/ref/contrib/messages.txt
+++ b/docs/ref/contrib/messages.txt
@@ -78,7 +78,7 @@ Django provides three built-in storage classes:
:class:`~django.contrib.messages.storage.fallback.FallbackStorage` is the
default storage class. If it isn't suitable to your needs, you can select
-another storage class by setting setting:`MESSAGE_STORAGE` to its full import
+another storage class by setting :setting:`MESSAGE_STORAGE` to its full import
path, for example::
MESSAGE_STORAGE = 'django.contrib.messages.storage.cookie.CookieStorage'