Rev 238 | Blame | Compare with Previous | Last modification | View Log | RSS feed
'''Created on 02-Jun-2010@author: gaurav'''from elixir import *class code_words(Entity):"""Documentation for class code_wordsIt represents database table for code_words used for parameters taken from forms, it storeskey = name of the parametervalue = the value of the parameterdescription = information about the parameter, for what purpose its stored"""key = Field(String(100))value = Field(String(1000))description = Field(String(1000))def init():"""Documentation for method initBefore using all the tables described in this module, one has to call this method"""#print " in datacode definition"metadata.bind = "mysql://root@localhost/phonecrawler"metadata.bind.echo = Truesetup_all(True)pass