Package turbogears :: Package command :: Module base :: Class CommandWithDB
[hide private]

Class CommandWithDB

source code


Base class for commands that need to use the database

Instance Methods [hide private]
 
__init__(self, version)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
find_config(self)
Chooses the config file, trying to guess whether this is a development or installed project.
source code

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Class Variables [hide private]
  config = None
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, version)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Overrides: object.__init__
(inherited documentation)