summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorDavid <smithdc@gmail.com>2022-01-04 12:45:15 +0000
committerMariusz Felisiak <felisiak.mariusz@gmail.com>2022-01-05 09:19:44 +0100
commit17bd04e708ecc78934f4fa1de917e991a9e07c27 (patch)
tree0a4880cad9b6c31c16353e9e24299f4dc7613fc4 /docs
parent24fce7d13447085e300ac45186f17550bb8eb946 (diff)
[4.0.x] Fixed malformed attribute directives in docs.
Backport of cc8e771c643b4aed9f1d0b8bfcc5b4a8604385b7 from main
Diffstat (limited to 'docs')
-rw-r--r--docs/topics/auth/default.txt2
-rw-r--r--docs/topics/settings.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index 287cf25148..23e0836d85 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -1228,7 +1228,7 @@ implementation details see :ref:`using-the-views`.
**Attributes:**
- .. attribute: template_name
+ .. attribute:: template_name
The full name of a template to use for displaying the password change
form. Defaults to :file:`registration/password_change_form.html` if not
diff --git a/docs/topics/settings.txt b/docs/topics/settings.txt
index e7d9d0c772..7c824b98f7 100644
--- a/docs/topics/settings.txt
+++ b/docs/topics/settings.txt
@@ -250,7 +250,7 @@ If you set :envvar:`DJANGO_SETTINGS_MODULE`, access settings values somehow,
that settings have already been configured. There is a property for this
purpose:
-.. attribute: django.conf.settings.configured
+.. attribute:: django.conf.settings.configured
For example::