summaryrefslogtreecommitdiff
path: root/src/mailman/model/docs/users.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/model/docs/users.txt')
-rw-r--r--src/mailman/model/docs/users.txt15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/mailman/model/docs/users.txt b/src/mailman/model/docs/users.txt
index 1703db1ee..29d8601cd 100644
--- a/src/mailman/model/docs/users.txt
+++ b/src/mailman/model/docs/users.txt
@@ -36,15 +36,16 @@ The password and real name can be changed at any time.
another password
-User id
-=======
+Basic user identification
+=========================
Although rarely visible to users, every user has a unique ID in Mailman, which
never changes. This ID is generated randomly at the time the user is
created.
- >>> print len(user_1.user_id)
- 40
+ # The test suite uses a predictable user id.
+ >>> print user_1.user_id
+ 1
The user id cannot change.
@@ -53,6 +54,12 @@ The user id cannot change.
...
AttributeError: can't set attribute
+User records also have a date on which they where created.
+
+ # The test suite uses a predictable timestamp.
+ >>> print user_1.created_on
+ 2005-08-01 07:49:23
+
Users addresses
===============