Subversion Repositories SmartDukaan

Rev

Rev 238 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
203 ashish 1
'''
2
Created on 02-Jun-2010
3
 
4
@author: gaurav
5
'''
6
 
7
 
8
from elixir import *
9
 
10
class code_words(Entity):
11
    key = Field(String(100))
12
    value = Field(String(1000))
13
    description = Field(String(1000)) 
14
 
15
 
16
def init():
17
    #print " in datacode definition"
18
    metadata.bind = "mysql://root@localhost/phonecrawler"
19
    metadata.bind.echo = True
20
    setup_all(True)
21
    pass