from lms.djangoapps.lms_xblock.mixin import LmsBlockMixin from cms.lib.xblock.authoring_mixin import AuthoringMixin import dealer.git from xmodule.modulestore.edit_info import EditInfoMixin from openedx.core.djangoapps.theming.helpers_dirs import ( get_themes_unchecked, get_theme_base_dirs_from_settings) from openedx.core.lib.license import LicenseMixin from openedx.core.lib.derived import derived, derived_dict_entry from openedx.core.release import doc_version ############################ FEATURE CONFIGURATION ############################# # Dummy secret key for dev/test SECRET_KEY = 'dev key' STUDIO_NAME = _("Your Platform Studio") STUDIO_SHORT_NAME = _("Studio") FEATURES = { 'GITHUB_PUSH': False, # for consistency in user-experience, keep the value of the following 3 settings # in sync with the ones in lms/envs/common.py 'ENABLE_DISCUSSION_SERVICE': True, 'ENABLE_TEXTBOOK': True, 'ENABLE_STUDENT_NOTES': True, 'AUTH_USE_CERTIFICATES': False, # email address for studio staff (eg to request course creation) 'STUDIO_REQUEST_EMAIL': '', # Segment - must explicitly turn it on for production
from xmodule.modulestore.edit_info import EditInfoMixin from openedx.core.djangoapps.theming.helpers_dirs import ( get_themes_unchecked, get_theme_base_dirs_from_settings ) from openedx.core.lib.license import LicenseMixin from openedx.core.lib.derived import derived, derived_collection_entry from openedx.core.release import doc_version ############################ FEATURE CONFIGURATION ############################# # Dummy secret key for dev/test SECRET_KEY = 'dev key' STUDIO_NAME = _("Your Platform Studio") STUDIO_SHORT_NAME = _("Studio") FEATURES = { 'GITHUB_PUSH': False, # for consistency in user-experience, keep the value of the following 3 settings # in sync with the ones in lms/envs/common.py 'ENABLE_DISCUSSION_SERVICE': True, 'ENABLE_TEXTBOOK': True, 'ENABLE_STUDENT_NOTES': True, 'AUTH_USE_CERTIFICATES': False, # email address for studio staff (eg to request course creation) 'STUDIO_REQUEST_EMAIL': '',
from path import Path as path from warnings import simplefilter from lms.djangoapps.lms_xblock.mixin import LmsBlockMixin from cms.lib.xblock.authoring_mixin import AuthoringMixin import dealer.git from xmodule.modulestore.edit_info import EditInfoMixin from xmodule.mixin import LicenseMixin ############################ FEATURE CONFIGURATION ############################# # Dummy secret key for dev/test SECRET_KEY = 'dev key' STUDIO_NAME = _("Edraak Studio") STUDIO_SHORT_NAME = _("Studio") FEATURES = { 'GITHUB_PUSH': False, # for consistency in user-experience, keep the value of the following 3 settings # in sync with the ones in lms/envs/common.py 'ENABLE_DISCUSSION_SERVICE': True, 'ENABLE_TEXTBOOK': True, 'ENABLE_STUDENT_NOTES': True, 'AUTH_USE_CERTIFICATES': False, # email address for studio staff (eg to request course creation) 'STUDIO_REQUEST_EMAIL': '',
get_themes_unchecked, get_theme_base_dirs_from_settings ) from openedx.core.lib.license import LicenseMixin from openedx.core.lib.derived import derived, derived_collection_entry from openedx.core.release import doc_version ############################ FEATURE CONFIGURATION ############################# EDX_ROOT = path(__file__).abspath().dirname().dirname().dirname() # /edx-platform/ PLATFORM_VERSION = subprocess.check_output(["git -C %s tag" % EDX_ROOT],shell=True) # Dummy secret key for dev/test SECRET_KEY = 'dev key' STUDIO_NAME = _("Navoica.pl Studio") STUDIO_SHORT_NAME = _("Studio") FEATURES = { 'BYPASS_ACTIVATION_EMAIL': False, 'ENABLE_UNICODE_USERNAME': True, 'GITHUB_PUSH': False, # for consistency in user-experience, keep the value of the following 3 settings # in sync with the ones in lms/envs/common.py 'ENABLE_DISCUSSION_SERVICE': True, 'ENABLE_TEXTBOOK': True, 'ENABLE_STUDENT_NOTES': True, # DO NOT SET TO True IN THIS FILE # Doing so will cause all courses to be released on production 'DISABLE_START_DATES': False, # When True, all courses will be active, regardless of start date