Made some small edits to docs/authentication.txt changes from [6375]

git-svn-id: http://code.djangoproject.com/svn/django/trunk@6376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Adrian Holovaty 2007-09-19 20:54:46 +00:00
parent f857e37776
commit 5c55cc83a7
1 changed files with 3 additions and 3 deletions

View File

@ -1090,12 +1090,12 @@ simply::
else: else:
return False return False
This gives full permissions to user granted access in the above example. Notice This gives full permissions to the user granted access in the above example. Notice
that the backend auth functions all take the user object as an argument, and that the backend auth functions all take the user object as an argument, and
also accept the same arguments given to the associated ``User`` functions. they also accept the same arguments given to the associated ``User`` functions.
A full authorization implementation can be found in A full authorization implementation can be found in
``django/contrib/auth/backends.py`` _, which is the default backend and queries ``django/contrib/auth/backends.py`` _, which is the default backend and queries
the ``auth_permission``-table most of the time. the ``auth_permission`` table most of the time.
.. _django/contrib/auth/backends.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/backends.py .. _django/contrib/auth/backends.py: http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/backends.py