Subversion Repositories SmartDukaan

Rev

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

Rev 20995 Rev 20997
Line 90... Line 90...
90
                    39:"USB Device",40:"Headphone"}
90
                    39:"USB Device",40:"Headphone"}
91
 
91
 
92
CATEGORY_MAP = {3:'Mobiles',5:'Tablets',6:'Accessories'}
92
CATEGORY_MAP = {3:'Mobiles',5:'Tablets',6:'Accessories'}
93
REFUND_ADJUSTMENT_MAP={0:'Pending',1:'Approved',2:'Cancelled',3:'Credited'}
93
REFUND_ADJUSTMENT_MAP={0:'Pending',1:'Approved',2:'Cancelled',3:'Credited'}
94
 
94
 
95
SUB_CATEGORY_HEADER_RANKING = [26,13,15,24,38,39,35,11,36,7,29,23,28,8,21,12,25,27,20,32,31,16,34,10,17,9,22,33]
95
SUB_CATEGORY_HEADER_RANKING = [12,16,23,40,32,21]
96
 
96
 
97
DEAL_PRIORITY = [4, 2, 1, 5, 6, 7, 3]  #Increasing order of source deal priority
97
DEAL_PRIORITY = [4, 2, 1, 5, 6, 7, 3]  #Increasing order of source deal priority
98
 
98
 
99
def get_mongo_connection(host='localhost', port=27017):
99
def get_mongo_connection(host='localhost', port=27017):
100
    global con
100
    global con