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
  model_template = 'from datetime import datetime\nfrom turbogea...
  session_file_name = 'model_designer.tmp'
  __package__ = 'turbogears.toolbox.designer'
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

...