3465: Create a new hierarchy of base classes for gramps cor databases (read, write) and add methods

svn: r13894
This commit is contained in:
Doug Blank
2009-12-23 15:55:58 +00:00
parent 0f20544be3
commit ab3dfe1415
31 changed files with 1890 additions and 1693 deletions

View File

@@ -19,7 +19,7 @@
# $Id$
#
""" Implements a GrampsDb interface """
""" Implements a Db interface """
#------------------------------------------------------------------------
#
@@ -28,7 +28,7 @@
#------------------------------------------------------------------------
import web
import gen
from gen.db import GrampsDbBase
from gen.db import DbBase
from web.libdjango import DjangoInterface
# from ReportBase._CommandLineReport import run_report
@@ -50,7 +50,7 @@ class Cursor(object):
def __exit__(self, *args, **kwargs):
pass
class DjangoDb(GrampsDbBase):
class DjangoDb(DbBase):
"""
A Gramps Database Backend. This replicates the grampsdb functions.
"""