Code

Ticket #13072: small-reST-fixes-r12741.diff

File small-reST-fixes-r12741.diff, 3.0 KB (added by ramiro, 4 years ago)
Line 
1diff --git a/docs/ref/middleware.txt b/docs/ref/middleware.txt
2--- a/docs/ref/middleware.txt
3+++ b/docs/ref/middleware.txt
4@@ -122,7 +122,7 @@
5 
6 .. class:: django.middleware.http.SetRemoteAddrFromForwardedFor
7 
8-.. versionchanged: 1.1
9+.. versionchanged:: 1.1
10 
11 This middleware was removed in Django 1.1. See :ref:`the release notes
12 <removed-setremoteaddrfromforwardedfor-middleware>` for details.
13diff --git a/docs/ref/settings.txt b/docs/ref/settings.txt
14--- a/docs/ref/settings.txt
15+++ b/docs/ref/settings.txt
16@@ -411,7 +411,7 @@
17 Default: ``'N j, Y'`` (e.g. ``Feb. 4, 2003``)
18 
19 The default formatting to use for displaying date fields in any part of the
20-system.  Note that if setting:`USE_L10N` is set to ``True``, then the
21+system. Note that if :setting:`USE_L10N` is set to ``True``, then the
22 locale-dictated format has higher precedence and will be applied instead. See
23 :ttag:`allowed date format strings <now>`.
24 
25@@ -451,7 +451,7 @@
26 Default: ``'N j, Y, P'`` (e.g. ``Feb. 4, 2003, 4 p.m.``)
27 
28 The default formatting to use for displaying datetime fields in any part of the
29-system.  Note that if setting:`USE_L10N` is set to ``True``, then the
30+system. Note that if :setting:`USE_L10N` is set to ``True``, then the
31 locale-dictated format has higher precedence and will be applied instead. See
32 :ttag:`allowed date format strings <now>`.
33 
34@@ -1353,7 +1353,7 @@
35 Default: ``m/d/Y`` (e.g. ``12/31/2003``)
36 
37 An available formatting that can be used for displaying date fields on
38-templates.  Note that if ``USE_L10N`` is set to ``True``, then the corresponding
39+templates. Note that if ``USE_L10N`` is set to ``True``, then the corresponding
40 locale-dictated format has higher precedence and will be applied. See
41 :ttag:`allowed date format strings <now>`.
42 
43@@ -1369,7 +1369,7 @@
44 Default: ``m/d/Y P`` (e.g. ``12/31/2003 4 p.m.``)
45 
46 An available formatting that can be used for displaying datetime fields on
47-templates.  Note that if ``USE_L10N`` is set to ``True``, then the corresponding
48+templates. Note that if ``USE_L10N`` is set to ``True``, then the corresponding
49 locale-dictated format has higher precedence and will be applied. See
50 :ttag:`allowed date format strings <now>`.
51 
52@@ -1509,7 +1509,7 @@
53 Default: ``'P'`` (e.g. ``4 p.m.``)
54 
55 The default formatting to use for displaying time fields in any part of the
56-system.  Note that if setting:`USE_L10N` is set to ``True``, then the
57+system. Note that if :setting:`USE_L10N` is set to ``True``, then the
58 locale-dictated format has higher precedence and will be applied instead. See
59 :ttag:`allowed date format strings <now>`.
60 
61diff --git a/docs/ref/templates/api.txt b/docs/ref/templates/api.txt
62--- a/docs/ref/templates/api.txt
63+++ b/docs/ref/templates/api.txt
64@@ -724,7 +724,7 @@
65 Using an alternative template language
66 ======================================
67 
68-.. versionadded 1.2
69+.. versionadded:: 1.2
70 
71 The Django ``Template`` and ``Loader`` classes implement a simple API for
72 loading and rendering templates. By providing some simple wrapper classes that