暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

instance_settings.py 489B

1234567891011121314151617181920212223242526
  1. #-*- coding:utf8 -*-
  2. import pymysql
  3. import os
  4. sitename = 'LODEL2_INSTANCE_NAME'
  5. lodel2_lib_path = 'LODEL2_LIB_ABS_PATH'
  6. templates_base_dir = 'LODEL2_INSTANCE_TEMPLATES_BASE_DIR'
  7. debug = False
  8. em_file = 'em.json'
  9. dynamic_code_file = 'dynleapi.py'
  10. ds_package = 'MySQL'
  11. mh_classname = 'MysqlMigrationHandler'
  12. datasource = {
  13. 'default': {
  14. 'module': pymysql,
  15. 'host': '127.0.0.1',
  16. 'user': 'DBUSER',
  17. 'passwd': 'DBPASSWORD',
  18. 'db': 'DBNAME'
  19. }
  20. }