From: richard Date: Thu, 10 Oct 2002 07:17:39 +0000 (+0000) Subject: shipped templates didn't import all hyperdb types in dbinit.py X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=4def0a922471eab197908735446ad798faa5f2dc;p=roundup.git shipped templates didn't import all hyperdb types in dbinit.py git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1333 57a73879-2fb5-44c3-a270-3262357dd7e2 --- diff --git a/roundup/templates/classic/dbinit.py b/roundup/templates/classic/dbinit.py index 311999c..cebff29 100644 --- a/roundup/templates/classic/dbinit.py +++ b/roundup/templates/classic/dbinit.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: dbinit.py,v 1.30 2002-09-26 23:59:08 richard Exp $ +# $Id: dbinit.py,v 1.31 2002-10-10 07:17:39 richard Exp $ import os @@ -26,6 +26,7 @@ def open(name=None): ''' as from the roundupdb method openDB ''' from roundup.hyperdb import String, Password, Date, Link, Multilink + from roundup.hyperdb import Interval, Boolean, Number # open the database db = Database(config, name) diff --git a/roundup/templates/minimal/dbinit.py b/roundup/templates/minimal/dbinit.py index 5d3e1a0..4801f85 100644 --- a/roundup/templates/minimal/dbinit.py +++ b/roundup/templates/minimal/dbinit.py @@ -15,7 +15,7 @@ # BASIS, AND THERE IS NO OBLIGATION WHATSOEVER TO PROVIDE MAINTENANCE, # SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. # -# $Id: dbinit.py,v 1.2 2002-09-26 23:59:08 richard Exp $ +# $Id: dbinit.py,v 1.3 2002-10-10 07:17:39 richard Exp $ import os @@ -26,6 +26,7 @@ def open(name=None): ''' as from the roundupdb method openDB ''' from roundup.hyperdb import String, Password, Date, Link, Multilink + from roundup.hyperdb import Interval, Boolean, Number # open the database db = Database(config, name)