Skip to content

Commit 060a776

Browse files
author
Jean Jordaan
committed
Documentation fixes.
doc/customizing.txt, doc/design.txt Documented 'db.curuserid'. doc/design.txt Reflowed to 72 columns (even the layer cake fits :) roundup/mailgw.py Strip '\n' introduced by rfc822.readheaders
1 parent 24e837e commit 060a776

File tree

3 files changed

+204
-124
lines changed

3 files changed

+204
-124
lines changed

doc/customizing.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Customising Roundup
33
===================
44

5-
:Version: $Revision: 1.91 $
5+
:Version: $Revision: 1.92 $
66

77
.. This document borrows from the ZopeBook section on ZPT. The original is at:
88
http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -1622,6 +1622,10 @@ you want access to the "user" class, for example, you would use::
16221622
db/user
16231623
python:db.user
16241624

1625+
Also, the current id of the current user is available as
1626+
``db.curuserid``. This isn't so useful in templates (where you have
1627+
``request/user``), but it can be useful in detectors or interfaces.
1628+
16251629
The access results in a `hyperdb class wrapper`_.
16261630

16271631

0 commit comments

Comments
 (0)