Newer
Older
# See https://docs.djangoproject.com/en/dev/howto/deployment/checklist/
SECRET_KEY = '<CHANGE ME TO SOME RANDOM STRING ONCE IN PRODUCTION>'
# Uncomment this to use a real database. If left commented out, a local SQLite3
# database will be used, which is not recommended for production use.
#
# DATABASES = {
# 'default': {
# 'PASSWORD': '<PASSWORD>',
# 'HOST': '127.0.0.1',
# 'PORT': '5432',
# }
# }
# Recommended, because dulwich is kind of slow in retrieving stuff.
#
# CACHES = {
# 'default': {
# 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
# 'LOCATION': '127.0.0.1:11211',
# }
# }
# SECURITY WARNING: don't run with debug turned on in production!
# Your course git repositories will be stored under this directory.
# Make sure it's writable by your web user.
# The default below makes them sit side-by-side with your relate checkout,
# which makes sense for development, but you probably want to change this
# in production.
#
# The 'course identifiers' you enter will be directory names below this root.
#GIT_ROOT = "/some/where"
GIT_ROOT = ".."
EMAIL_HOST = '127.0.0.1'
EMAIL_HOST_USER = ''
EMAIL_HOST_PASSWORD = ''
EMAIL_PORT = 25
EMAIL_USE_TLS = False
ROBOT_EMAIL_FROM = "Example Admin <admin@example.com>"
SERVER_EMAIL = ROBOT_EMAIL_FROM
("Example Admin", "admin@example.com"),
TIME_ZONE = "America/Chicago"
# Uncomment one of these to choose the default sign-in method for students
STUDENT_SIGN_IN_VIEW = "relate-sign_in_by_email"
#STUDENT_SIGN_IN_VIEW = "relate-sign_in_by_user_pw"
#STUDENT_SIGN_IN_VIEW = "relate-sign_in_by_sso" # not yet implemented
# A string containing the image ID of the docker image to be used to run
# student Python code. Docker should download the image on first run.
RELATE_DOCKER_RUNPY_IMAGE = "inducer/relate-runpy-i386"
# May be set to a string to set a sitewide announcement visible on every page.
RELATE_SITE_ANNOUNCEMENT = None
# Uncomment this to enable i18n, change 'en-us' to locale name your language.
# Make sure you have generated, translate and compile the message file of your
# language. If commented, RELATE will use default language 'en-us'.
#LANGUAGE_CODE='en-us'