Subversion Repositories SmartDukaan

Rev

Rev 173 | Rev 238 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 173 Rev 203
Line 99... Line 99...
99
    supplier_id = Field(Integer)
99
    supplier_id = Field(Integer)
100
    mobile_id = Field(Integer)
100
    mobile_id = Field(Integer)
101
    quoted_price = Field(Integer)  
101
    quoted_price = Field(Integer)  
102
    final_price = Field(Integer)
102
    final_price = Field(Integer)
103
    extra_info = Field(String(1000))
103
    extra_info = Field(String(1000))
-
 
104
    
104
        
105
        
105
def init():
106
def init():
106
    #metadata.bind = "sqlite:///phones.sqlite"
107
    #metadata.bind = "sqlite:///phones.sqlite"
107
    metadata.bind = "mysql://root@localhost/phonecrawler"
108
    metadata.bind = "mysql://root@localhost/phonecrawler"
108
    metadata.bind.echo = True
109
    metadata.bind.echo = True