Piki is a minimal wiki
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.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. #######################################################################
  2. # Configuration of your django application
  3. #######################################################################
  4. #
  5. # Piki Setting
  6. #
  7. # The root page to be used
  8. STARTPAGE = "startpage"
  9. # Activate content management system (view)
  10. # CMS_MODE = True
  11. #
  12. # Users library
  13. #
  14. # This enables or disables the self registration
  15. # If you enable self registration it is recommended to configure "Django mail / smtp settings"
  16. USERS_SELF_REGISTRATION = 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. #
  22. # Django mail / smtp settings
  23. #
  24. # The hostname of the smtp server
  25. # EMAIL_HOST = "<smtp_host>"
  26. # The port used for the smtp connection
  27. # EMAIL_PORT = <port_number>
  28. # The username for smtp authentication
  29. # EMAIL_HOST_USER = "<smtp_user>"
  30. # The password for smtp authentication
  31. # EMAIL_HOST_PASSWORD = "<smtp_password>"
  32. # The sender of piki emails
  33. # EMAIL_FROM = "piki@<host>"
  34. # Set to True, if TLS shall be used
  35. # EMAIL_USE_TLS = False
  36. # Set to True, if SSL shall be used
  37. # EMAIL_USE_SSL = True
  38. # The smtp timeout
  39. # EMAIL_TIMEOUT =
  40. # Define a ssl keyfile
  41. # EMAIL_SSL_KEYFILE =
  42. # Define an ssl certificate
  43. # EMAIL_SSL_CERTFILE =
  44. #
  45. # Themes library
  46. #
  47. # This defines the default theme, if no theme is set in the django parameters
  48. DEFAULT_THEME = 'clear-teal'
  49. #
  50. # Django
  51. #
  52. # This defines the mode of the running server
  53. # SECURITY WARNING: don't run with debug turned on in production!
  54. DEBUG = False
  55. # This a the secret key for your application.
  56. # SECURITY WARNING: don't run with a dummy secret in production! And don't let others read this key!
  57. SECRET_KEY = None
  58. # Define the administrators (for mail delivery)
  59. ADMINS = [("Piki", EMAIL_FROM), ]
  60. # This defines the listener hostnames for your django server
  61. # SECURITY WARNING: don't run with '0.0.0.0' in in production, unless you know what you are doing!
  62. # ALLOWED_HOSTS = ['<YOUR_SERVER_HOSTNAME>', ]
  63. # This might be needed for usage in a docker environment
  64. # CSRF_TRUSTED_ORIGINS = ['<YOUR_SERVER_URL>', ]