Subversion Repositories SmartDukaan

Rev

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

Rev 15182 Rev 15204
Line 17... Line 17...
17
            'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
17
            'Accept-Charset' : 'ISO-8859-1,utf-8;q=0.7,*;q=0.3',
18
            'Connection':'keep-alive',
18
            'Connection':'keep-alive',
19
            'Accept-Encoding' : 'gzip,deflate,sdch'
19
            'Accept-Encoding' : 'gzip,deflate,sdch'
20
        }
20
        }
21
PROXY_URL = "http://173.234.194.37:8800/"
21
PROXY_URL = "http://173.234.194.37:8800/"
22
PROXY_LIST = ['192.161.160.203:8800','173.234.194.214:8800', \
22
PROXY_LIST = ['108.186.244.30:8800','108.186.244.39:8800','108.186.244.46:8800' \
23
              '192.161.160.13:8800','173.208.39.246:8800','192.161.160.212:8800', \
23
              ,'166.88.107.119:8800','166.88.107.74:8800','108.186.244.40:8800' \
24
              '173.208.39.67:8800','192.161.163.249:8800', \
24
              ,'166.88.111.13:8800','192.126.186.135:8800','192.126.186.166:8800' \
25
              '192.161.163.60:8800']
25
              ,'166.88.111.49:8800']
26
 
26
 
27
PUSH_NOTIFICATION_URL='http://api.profittill.com/admin/users/push'
27
PUSH_NOTIFICATION_URL='http://api.profittill.com/admin/users/push'
28
DTR_API_BASIC_AUTH = base64.encodestring('%s:%s' % ("dtr", "dtr18Feb2015")).replace('\n', '')
28
DTR_API_BASIC_AUTH = base64.encodestring('%s:%s' % ("dtr", "dtr18Feb2015")).replace('\n', '')
29
 
29
 
30
def get_mongo_connection(host='localhost', port=27017):
30
def get_mongo_connection(host='localhost', port=27017):