mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-27 17:03:29 +00:00
Use "{% include %}" jinja directive instead of python "exec", which was a bit weird. Also, this sets the technical email for the studio, which was previous set at "technical@example.com".
20 lines
461 B
Python
20 lines
461 B
Python
import os
|
|
from lms.envs.production import *
|
|
|
|
{% include "apps/openedx/settings/partials/common/lms.py" %}
|
|
|
|
ALLOWED_HOSTS = [
|
|
ENV_TOKENS.get("LMS_BASE"),
|
|
FEATURES["PREVIEW_LMS_BASE"],
|
|
"lms",
|
|
"127.0.0.1",
|
|
"localhost",
|
|
"preview.localhost",
|
|
]
|
|
|
|
# Required to display all courses on start page
|
|
SEARCH_SKIP_ENROLLMENT_START_DATE_FILTERING = True
|
|
|
|
# Allow insecure oauth2 for local interaction with local containers
|
|
OAUTH_ENFORCE_SECURE = False
|