[Checkins] SVN: zope.globalrequest/trunk/src/zope/globalrequest/README.txt update readme

Andreas Zeidler az at zitc.de
Thu Jan 15 11:10:35 EST 2009


Log message for revision 94759:
  update readme

Changed:
  U   zope.globalrequest/trunk/src/zope/globalrequest/README.txt

-=-
Modified: zope.globalrequest/trunk/src/zope/globalrequest/README.txt
===================================================================
--- zope.globalrequest/trunk/src/zope/globalrequest/README.txt	2009-01-15 16:10:27 UTC (rev 94758)
+++ zope.globalrequest/trunk/src/zope/globalrequest/README.txt	2009-01-15 16:10:35 UTC (rev 94759)
@@ -5,12 +5,19 @@
 ------------
 
 This package provides a global way to retrieve the currently active request
-object in a zope-based web framework.
+object in a zope-based web framework.  To do so you simply need to do the
+following::
 
+  from zope.globalrequest import getRequest
+  request = getRequest()
 
+
 Functional Tests
 ----------------
 
+The remainder of this file contains functional tests to demonstrate that the
+package works as intended.
+
 First we make sure our test view works:
 
   >>> from zope.testbrowser.testing import Browser



More information about the Checkins mailing list