Subversion Repositories SmartDukaan

Rev

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

Rev 16522 Rev 16538
Line 40... Line 40...
40
ORDER_PLACED = 'Order Placed'
40
ORDER_PLACED = 'Order Placed'
41
ORDER_DELIVERED = 'Delivered'
41
ORDER_DELIVERED = 'Delivered'
42
ORDER_SHIPPED = 'Shipped' #Lets see if we can make use of it
42
ORDER_SHIPPED = 'Shipped' #Lets see if we can make use of it
43
ORDER_CANCELLED = 'Cancelled'
43
ORDER_CANCELLED = 'Cancelled'
44
 
44
 
-
 
45
AFFILIATE_OFFER_API= {1:"https://www.spicesafar.com/FreeBapp/fetchOffersSM?deviceId=%s&retailerCode=%d"}
-
 
46
AFFILIATE_OFFER_DESC_API = {1:"https://www.spicesafar.com/FreeBapp/individualOffersSM?deviceId=%s&offerId=%s&retailerCode=%d"}
-
 
47
 
45
 
48
 
46
def get_mongo_connection(host='localhost', port=27017):
49
def get_mongo_connection(host='localhost', port=27017):
47
    global con
50
    global con
48
    if con is None:
51
    if con is None:
49
        print "Establishing connection %s host and port %d" %(host,port)
52
        print "Establishing connection %s host and port %d" %(host,port)