Browse files

Updated documentation for User.objects.make_random_password, fixing

punctuation at the same time.

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent b0fa08b commit b6b1ab22b59e2797ec74611aac820dc5bc25a9df @spookylukey spookylukey committed Jun 18, 2007
Showing with 2 additions and 2 deletions.
  1. +2 −2 docs/authentication.txt
@@ -161,8 +161,8 @@ The ``User`` model has a custom manager that has the following helper functions:
* ``make_random_password(length=10, allowed_chars='abcdefghjkmnpqrstuvwxyzABCDEFGHJKLMNPQRSTUVWXYZ23456789')``
Returns a random password with the given length and given string of
allowed characters. (Note that the default value of ``allowed_chars``
- doesn't contain ``"I"`` or letters that look like it, to avoid user
- confusion.
+ doesn't contain letters that can cause user confusion, including
+ ``1``, ``I`` and ``0``).
Basic usage

0 comments on commit b6b1ab2

Please sign in to comment.