summaryrefslogtreecommitdiff
path: root/docs/topics/auth
diff options
context:
space:
mode:
authorJuan Catalano <jc@streema.com>2013-03-24 22:53:48 -0700
committerClaude Paroz <claude@2xlibre.net>2013-04-20 17:18:35 +0200
commit78c842a3230f026ad678d243e5459cd6b314d99a (patch)
treea4a22465ccc10f4efcc2816d31f2a058d9e82c9c /docs/topics/auth
parent1ddeeb5b8ed5b2cf28302c8aca0a2915a3cfb240 (diff)
Adapted uses of versionchanged/versionadded to the new form.
Refs #20104.
Diffstat (limited to 'docs/topics/auth')
-rw-r--r--docs/topics/auth/customizing.txt6
-rw-r--r--docs/topics/auth/default.txt10
2 files changed, 9 insertions, 7 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index 143a729f37..a5d7d3f9a1 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -83,9 +83,9 @@ processing at the first positive match.
.. versionadded:: 1.6
-If a backend raises a :class:`~django.core.exceptions.PermissionDenied`
-exception, authentication will immediately fail. Django won't check the
-backends that follow.
+ If a backend raises a :class:`~django.core.exceptions.PermissionDenied`
+ exception, authentication will immediately fail. Django won't check the
+ backends that follow.
Writing an authentication backend
---------------------------------
diff --git a/docs/topics/auth/default.txt b/docs/topics/auth/default.txt
index a38ee84841..e666cded75 100644
--- a/docs/topics/auth/default.txt
+++ b/docs/topics/auth/default.txt
@@ -435,10 +435,10 @@ The login_required decorator
.. versionchanged:: 1.5
- The :setting:`settings.LOGIN_URL <LOGIN_URL>` also accepts
- view function names and :ref:`named URL patterns <naming-url-patterns>`.
- This allows you to freely remap your login view within your URLconf
- without having to update the setting.
+ The :setting:`settings.LOGIN_URL <LOGIN_URL>` also accepts
+ view function names and :ref:`named URL patterns <naming-url-patterns>`.
+ This allows you to freely remap your login view within your URLconf
+ without having to update the setting.
.. note::
@@ -759,6 +759,7 @@ patterns.
mail will be sent either.
.. versionchanged:: 1.6
+
Previously, error messages indicated whether a given email was
registered.
@@ -1041,6 +1042,7 @@ Thus, you can check permissions in template ``{% if %}`` statements:
{% endif %}
.. versionadded:: 1.5
+
Permission lookup by "if in".
It is possible to also look permissions up by ``{% if in %}`` statements.