Piki is a minimal wiki
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

config.py 2.3KB

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