Project And Teamorganisation Tool
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.

config.py 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. #######################################################################
  2. # Configuration of your django application
  3. #######################################################################
  4. #
  5. # Themes library
  6. #
  7. # This defines the default theme, if no theme is set in the django parameters
  8. DEFAULT_THEME = 'clear-green'
  9. #
  10. # Users library
  11. #
  12. # This enables or disables the self registration
  13. # If you enable self registration (or you want to use it as superuser) it is recommended to configure "Django mail / smtp settings"
  14. USERS_SELF_REGISTRATION = False
  15. # If you enable password recovery (or you want to use it as superuser) it is recommended to configure "Django mail / smtp settings"
  16. USERS_PASSWORD_RECOVERY = False
  17. # This enables or disables the mail validation after self registration
  18. USERS_MAIL_VALIDATION = True
  19. # This enables or disables the account activation by an admin after self registration
  20. USERS_ADMIN_ACTIVATION = True
  21. # The timeout for password recovery and mail validation tokens send via email
  22. PASSWORD_RESET_TIMEOUT = 60 * 60 * 3 # 3 hours
  23. #
  24. # Django mail / smtp settings
  25. #
  26. # The hostname of the smtp server
  27. # EMAIL_HOST = "<smtp_host>"
  28. # The port used for the smtp connection
  29. # EMAIL_PORT = <port_number>
  30. # The username for smtp authentication
  31. # EMAIL_HOST_USER = "<smtp_user>"
  32. # The password for smtp authentication
  33. # EMAIL_HOST_PASSWORD = "<smtp_password>"
  34. # The sender of piki emails
  35. # EMAIL_FROM = "piki@<host>"
  36. # Set to True, if TLS shall be used
  37. # EMAIL_USE_TLS = False
  38. # Set to True, if SSL shall be used
  39. # EMAIL_USE_SSL = True
  40. # The smtp timeout
  41. # EMAIL_TIMEOUT =
  42. # Define a ssl keyfile
  43. # EMAIL_SSL_KEYFILE =
  44. # Define an ssl certificate
  45. # EMAIL_SSL_CERTFILE =
  46. #
  47. # Django
  48. #
  49. # This defines the mode of the running server
  50. # SECURITY WARNING: don't run with debug turned on in production!
  51. DEBUG = False
  52. # This a the secret key for your application.
  53. # SECURITY WARNING: don't run with a dummy secret in production! And don't let others read this key!
  54. SECRET_KEY = None
  55. # Define the administrators (for mail delivery)
  56. ADMINS = [("PaTT", EMAIL_FROM), ]
  57. # This defines the listener hostnames for your django server
  58. # SECURITY WARNING: don't run with '0.0.0.0' in in production, unless you know what you are doing!
  59. # ALLOWED_HOSTS = ['<YOUR_SERVER_HOSTNAME>', ]
  60. # This might be needed for usage in a docker environment
  61. # CSRF_TRUSTED_ORIGINS = ['<YOUR_SERVER_URL>', ]