Code

doc/customizing.txt, doc/design.txt
[roundup.git] / doc / customizing.txt
index 36712dedd5f485be4bf157b1dd952976a8c5581b..245ca2a7d517ebdc4a4e32dd8c775818e79ff059 100644 (file)
@@ -2,7 +2,7 @@
 Customising Roundup
 ===================
 
-:Version: $Revision: 1.91 $
+:Version: $Revision: 1.92 $
 
 .. This document borrows from the ZopeBook section on ZPT. The original is at:
    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::
   db/user
   python:db.user
 
+Also, the current id of the current user is available as
+``db.curuserid``. This isn't so useful in templates (where you have
+``request/user``), but it can be useful in detectors or interfaces.
+
 The access results in a `hyperdb class wrapper`_.