summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorLuke Plant <L.Plant.98@cantab.net>2007-06-18 10:02:58 +0000
committerLuke Plant <L.Plant.98@cantab.net>2007-06-18 10:02:58 +0000
commitb6b1ab22b59e2797ec74611aac820dc5bc25a9df (patch)
tree83f99fff7e4b98be23d35d7b7f2286168772970c /docs
parentb0fa08b9e0cc0d975515a0d84c932280da50e75e (diff)
Updated documentation for User.objects.make_random_password, fixing
punctuation at the same time. git-svn-id: http://code.djangoproject.com/svn/django/trunk@5490 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs')
-rw-r--r--docs/authentication.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/authentication.txt b/docs/authentication.txt
index 12b61db538..972ca42073 100644
--- a/docs/authentication.txt
+++ b/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
-----------