app_settings.py 667 B

1234567891011121314151617181920212223242526272829
  1. #coding=utf-8
  2. from const import *
  3. DATABASES = {
  4. 'default': {
  5. 'ENGINE': 'django.db.backends.mysql',
  6. 'NAME': 'scj',
  7. 'USER': 'carwin', # Not used with sqlite3.
  8. 'PASSWORD': 'carwin!@#', # Not used with sqlite3.
  9. 'HOST': '127.0.0.1',
  10. },
  11. }
  12. # DATABASES = {
  13. # 'default': {
  14. # 'ENGINE': 'django.db.backends.mysql',
  15. # 'NAME': 'scj',
  16. # 'USER': 'carwin', # Not used with sqlite3.
  17. # 'PASSWORD': 'carwin!@#', # Not used with sqlite3.
  18. # 'HOST': '39.106.191.217',
  19. # },
  20. # }
  21. PAGE_SIZE = 20
  22. LICENSE_KEY = 'dev-luyuhang'
  23. # 备件出库模式
  24. MAINT_PART_DELIVER_MODE = STOCK_MODE_FIFO