No Description
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.

settings.py 558B

1234567891011121314151617181920212223242526272829
  1. #-*- coding:utf8 -*-
  2. ## @package settings Configuration file
  3. import pymysql
  4. import os
  5. lodel2_lib_path = os.path.dirname(os.path.abspath(__file__))
  6. base_path = os.path.dirname(os.path.abspath(__file__))
  7. debug = False
  8. debug_sql = False
  9. datasource = {
  10. 'default': {
  11. 'module':pymysql,
  12. 'host': None,
  13. 'user': None,
  14. 'passwd': None,
  15. 'db': None,
  16. }
  17. }
  18. migration_options = {
  19. 'dryrun': False,
  20. 'foreign_keys': True,
  21. 'drop_if_exists': False,
  22. }
  23. em_graph_format = 'png'
  24. em_graph_output = '/tmp/em_%s_graph.png'