Code

add access to real db through HTML db
authorrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 13 Mar 2003 11:06:25 +0000 (11:06 +0000)
committerrichard <richard@57a73879-2fb5-44c3-a270-3262357dd7e2>
Thu, 13 Mar 2003 11:06:25 +0000 (11:06 +0000)
git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1588 57a73879-2fb5-44c3-a270-3262357dd7e2

roundup/cgi/templating.py

index 2fe97ea1158ea70d63b2d8298cbb4c57ef6616b9..0984bc137a2f1e6681e63b577e400e36a89f4fce 100644 (file)
@@ -198,6 +198,7 @@ class HTMLDatabase:
     '''
     def __init__(self, client):
         self._client = client
+        self._db = client.db
 
         # we want config to be exposed
         self.config = client.db.config