summaryrefslogtreecommitdiff
path: root/docs/topics/auth
diff options
context:
space:
mode:
authorTim Graham <timograham@gmail.com>2019-03-28 20:32:17 -0400
committerTim Graham <timograham@gmail.com>2019-03-28 20:39:38 -0400
commit2fb602f58181fa07e416474a35fef1945a6f8df3 (patch)
treede9f06e9f71b13c47f8e1ea93ff9a5da24ae1fa4 /docs/topics/auth
parentffdacc5879fcfb5b1857340ac874314de9aa490e (diff)
[2.2.x] Used extlinks for Django's source code.
Backport of a68c029e224cebe540da7447dbbd27993b4aa793 from master.
Diffstat (limited to 'docs/topics/auth')
-rw-r--r--docs/topics/auth/customizing.txt6
1 files changed, 2 insertions, 4 deletions
diff --git a/docs/topics/auth/customizing.txt b/docs/topics/auth/customizing.txt
index cc0c791f59..87988873a4 100644
--- a/docs/topics/auth/customizing.txt
+++ b/docs/topics/auth/customizing.txt
@@ -204,14 +204,12 @@ Notice that in addition to the same arguments given to the associated
all take the user object, which may be an anonymous user, as an argument.
A full authorization implementation can be found in the ``ModelBackend`` class
-in `django/contrib/auth/backends.py`_, which is the default backend and queries
-the ``auth_permission`` table most of the time. If you wish to provide
+in :source:`django/contrib/auth/backends.py`, which is the default backend and
+queries the ``auth_permission`` table most of the time. If you wish to provide
custom behavior for only part of the backend API, you can take advantage of
Python inheritance and subclass ``ModelBackend`` instead of implementing the
complete API in a custom backend.
-.. _django/contrib/auth/backends.py: https://github.com/django/django/blob/master/django/contrib/auth/backends.py
-
.. _anonymous_auth:
Authorization for anonymous users