Subversion Repositories SmartDukaan

Rev

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

Rev 14994 Rev 15089
Line 14... Line 14...
14
            'Accept-Language' : 'en-US,en;q=0.8',                     
14
            'Accept-Language' : 'en-US,en;q=0.8',                     
15
            'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
15
            'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
16
            'Connection':'keep-alive',
16
            'Connection':'keep-alive',
17
            'Accept-Encoding' : 'gzip,deflate,sdch'
17
            'Accept-Encoding' : 'gzip,deflate,sdch'
18
        }
18
        }
19
PROXY_URL = "http://192.161.160.203:8800/"
19
PROXY_URL = "http://192.161.160.97:8800/"
20
PUSH_NOTIFICATION_URL='http://api.profittill.com/admin/users/push'
20
PUSH_NOTIFICATION_URL='http://api.profittill.com/admin/users/push'
21
DTR_API_BASIC_AUTH = base64.encodestring('%s:%s' % ("dtr", "dtr18Feb2015")).replace('\n', '')
21
DTR_API_BASIC_AUTH = base64.encodestring('%s:%s' % ("dtr", "dtr18Feb2015")).replace('\n', '')
22
 
22
 
23
def get_mongo_connection(host='localhost', port=27017):
23
def get_mongo_connection(host='localhost', port=27017):
24
    global con
24
    global con