diff roundup/cgi/templating.py @ 1513:455f79a2981f

add access to real db through HTML db
author Richard Jones <richard@users.sourceforge.net>
date Thu, 13 Mar 2003 11:06:25 +0000
parents 06863714a9f7
children bb843662b708
line wrap: on
line diff
--- a/roundup/cgi/templating.py	Thu Mar 13 09:27:24 2003 +0000
+++ b/roundup/cgi/templating.py	Thu Mar 13 11:06:25 2003 +0000
@@ -198,6 +198,7 @@
     '''
     def __init__(self, client):
         self._client = client
+        self._db = client.db
 
         # we want config to be exposed
         self.config = client.db.config

Roundup Issue Tracker: http://roundup-tracker.org/