Browse files

[1.0.X] Auth-related doc cleanups:

  * Added to documentation of missing characters from `allowed_chars` in `make_random_password`.
  * Fixed several long lines and word wraps.
  * Added a reference link to the "How to log a user in" section and made a later reference to this section an actual link using the `:ref:` directive.
  * Turned a command line code example into a code block.
  * Added attribute reference link for a ``request.META`` mention.
  * Added `code-block:: html` directives for HTML examples.
  * Corrected reference links for all the `auth.views` functions.
  * Added a few function signatures and documentation of optional parameters that were missing for some of the the `auth.views` functions (refs #10272).

Backport of r9835 from trunk.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b09a197 commit 910aa0ea288e107c11c4f9973c88158d47fe2bd5 @gdub gdub committed Feb 16, 2009
Showing with 224 additions and 181 deletions.
  1. +223 −180 docs/topics/auth.txt
  2. +1 −1 docs/topics/http/sessions.txt
Oops, something went wrong.
@@ -122,7 +122,7 @@ It also has these methods:
session key value that is sent back to the user in the cookie. This is
used if you want to ensure that the previous session data can't be
accessed again from the user's browser (for example, the
- ``django.contrib.auth.logout()`` method calls it).
+ :func:`django.contrib.auth.logout()` function calls it).
* ``set_test_cookie()``

0 comments on commit 910aa0e

Please sign in to comment.