Subversion Repositories SmartDukaan

Rev

Rev 203 | Go to most recent revision | Details | Compare with Previous | 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
 
238 ashish 10
 
11
 
12
 
203 ashish 13
class code_words(Entity):
14
    key = Field(String(100))
15
    value = Field(String(1000))
16
    description = Field(String(1000)) 
17
 
18
 
19
def init():
20
    #print " in datacode definition"
21
    metadata.bind = "mysql://root@localhost/phonecrawler"
22
    metadata.bind.echo = True
23
    setup_all(True)
24
    pass