tables.py
Go to the documentation of this file.
00001 #! /usr/bin/env python
00002 
00003 """
00004 usage: %(progname)s [args]
00005 """
00006 
00007 import nstart
00008 
00009 import os, sys, string, time, getopt, re
00010 from pyclearsilver.log import *
00011 
00012 import neo_cgi, neo_util, neo_cs
00013 
00014 from pyclearsilver import CSPage
00015 from pyclearsilver import odb
00016 
00017 import MBPage
00018 import db_webui
00019 
00020 from pyclearsilver import scaffold
00021 
00022 class MyPage(scaffold.DBScaffold):
00023   def setup(self, hdf):
00024     self.db = db_webui.initSchema()
00025     scaffold.DBScaffold.setupDetails(self, self.db)
00026     scaffold.DBScaffold.setup(self, hdf)
00027     
00028 def run(context):
00029   return MyPage(context, pagename="default")
00030 
00031 def main():
00032   context = CSPage.Context()
00033   run(context).start()
00034 
00035 if __name__ == "__main__":
00036   main()


webui
Author(s): Scott Hassan/hassan@willowgarage.com
autogenerated on Sat Dec 28 2013 17:47:58