ku-polls/sample.env
2023-09-21 20:48:47 +07:00

14 lines
738 B
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Copy this file to .env and edit the values
# Create a secret key using (todo: how to create a secret key?)
SECRET_KEY = secret-key-value-without-quotes
# Set DEBUG to True for development, False for actual use
DEBUG = False
# ALLOWED_HOSTS is a comma-separated list of hosts that can access the app.
# You can use wildcard chars (*) and IP addresses. Use * for any host.
ALLOWED_HOSTS = *.ku.th, localhost, 127.0.0.1, ::1
# Your timezone
TIME_ZONE = Asia/Bangkok
# Password to use for the SMTP server defined in EMAIL_HOST. This setting is used in conjunction
# with EMAIL_HOST_USER when authenticating to the SMTP server.
# If either of these settings is empty, Django wont attempt authentication.
EMAIL_HOST_PASSWORD=somepassword