Browse Source

Fixed malformed attribute directives in docs.

David 3 years ago
parent
commit
cc8e771c64
2 changed files with 2 additions and 2 deletions
  1. 1 1
      docs/topics/auth/default.txt
  2. 1 1
      docs/topics/settings.txt

+ 1 - 1
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

+ 1 - 1
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::