conf.py
651 Bytes
try:
from urllib import quote_plus
except:
from urllib.parse import quote_plus
url = 'DRIVER={FreeTDS};Server=192.168.56.1;Database=V@LID49V6_2015;UID=sa;PWD=a;TDS_Version=8.0;Port=1433;'
quoted = quote_plus(url)
sipkd_url = 'mssql+pyodbc:///?odbc_connect={}'.format(quoted)
sipkd_url_master = sipkd_url
#pyodbc:///?odbc_connect=DRIVER%%3D%%7BFreeTDS%%7D%%3BServer%%3D192.168.56.1%%3BDatabase%%3DV%%40LID49V6_2015%%3BUID%%3Dsa%%3BPWD%%3Da%%3BPort%%3D1433%%3BTDS_Version%%3D8.0"
eis_url = "postgresql://eis:31sb4p3nd4@192.168.99.25/eis"
webr_url = "postgresql://web-r:bandung@localhost/web_r"
pap_url = "informis://samsatjb:samsatjb@dbdapja"