Package turbogears :: Package toolbox :: Package designer

Package designer

source code

Graphical user interface for SQLObject's model design

Classes
  Designer
Designer for SQLObject models.
Functions
 
version_file(file_spec, vtype='copy')
By Robin Parmar & Martin Miller from Python Cookbook 2.
source code
Variables
  sqlobject = None
hash(x)
  model_template = """from datetime import datet...
  session_file_name = 'model_designer.tmp'
Function Details

version_file(file_spec, vtype='copy')

source code 

By Robin Parmar & Martin Miller from Python Cookbook 2. edition


Variables Details

model_template

Value:
"""from datetime import datetime
from turbogears.database import PackageHub
from sqlobject import *
from turbogears import identity

hub = PackageHub("%s")
__connection__ = hub

...