Permalink
Browse files

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).


git-svn-id: http://code.djangoproject.com/svn/django/trunk@9835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent f76cb41 commit 88837875f245672a5e8671a1d144c78d3e102450 @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
View
@@ -145,7 +145,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 8883787

Please sign in to comment.