Pycharm連線資料庫配置檔案
阿新 • • 發佈:2019-02-17
pgAdmin 4資料庫和python語言在Odoo框架的配置檔案內容:
[options]
# By [email protected]
##### PG #####
db_host = 127.0.0.1
db_user = cj
db_password = 123456
#db_name = abc
#dbfilter = yz_03
db_port = 5432
db_maxconn = 100
longpolling_port = 8082
xmlrpc_port = 8069
#指定到對應的專案位置
addons_path = ./odoo10/addons,./odoo10/odoo/addons,./wens_app
##### DISABLE CRON #####
max_cron_threads = 0
##### LOG LEVEL #####
#正常,警告
### LEVEL OPTIONS: 'info', 'debug_rpc', 'warn', 'test', 'critical', 'debug_sql', 'error', 'debug', 'debug_rpc_answer', 'notset'
###log_handler = [':DEBUG']
log_level = debug ; CHANGE
##log_handler = openerp.sql_db:DEBUG
Pycharm執行的專案連結式:
-c config/local.config -u ws_tms