Project And Teamorganisation Tool
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

config.py 1.0KB

1234567891011121314151617181920212223242526272829303132
  1. #######################################################################
  2. # Configuration of your django application
  3. #######################################################################
  4. #
  5. # Users library
  6. #
  7. # This enables or disables the self registration
  8. USERS_SELF_REGISTRATION = False
  9. #
  10. # Themes library
  11. #
  12. # This defines the default theme, if no theme is set in the django parameters
  13. DEFAULT_THEME = 'clear-green'
  14. #
  15. # Django
  16. #
  17. # This defines the mode of the running server
  18. # SECURITY WARNING: don't run with debug turned on in production!
  19. DEBUG = False
  20. # This a the secret key for your application.
  21. # SECURITY WARNING: don't run with a dummy secret in production! And don't let others read this key!
  22. SECRET_KEY = None
  23. # This defines the listener hostnames for your django server
  24. # SECURITY WARNING: don't run with '0.0.0.0' in in production, unless you know what you are doing!
  25. # ALLOWED_HOSTS = ['<YOUR_SERVER_HOSTNAME>', ]
  26. # This might be needed for usage in a docker environment
  27. # CSRF_TRUSTED_ORIGINS = ['<YOUR_SERVER_URL>', ]