* Generate common/djangoapps import shims for LMS * Generate common/djangoapps import shims for Studio * Stop appending project root to sys.path * Stop appending common/djangoapps to sys.path * Import from common.djangoapps.course_action_state instead of course_action_state * Import from common.djangoapps.course_modes instead of course_modes * Import from common.djangoapps.database_fixups instead of database_fixups * Import from common.djangoapps.edxmako instead of edxmako * Import from common.djangoapps.entitlements instead of entitlements * Import from common.djangoapps.pipline_mako instead of pipeline_mako * Import from common.djangoapps.static_replace instead of static_replace * Import from common.djangoapps.student instead of student * Import from common.djangoapps.terrain instead of terrain * Import from common.djangoapps.third_party_auth instead of third_party_auth * Import from common.djangoapps.track instead of track * Import from common.djangoapps.util instead of util * Import from common.djangoapps.xblock_django instead of xblock_django * Add empty common/djangoapps/__init__.py to fix pytest collection * Fix pylint formatting violations * Exclude import_shims/ directory tree from linting
101 lines
3.5 KiB
JSON
101 lines
3.5 KiB
JSON
{
|
|
"BUGS_EMAIL": "bugs@example.com",
|
|
"BULK_EMAIL_DEFAULT_FROM_EMAIL": "no-reply@example.com",
|
|
"CACHES": {
|
|
"celery": {
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
|
"KEY_PREFIX": "integration_celery",
|
|
"LOCATION": [
|
|
"edx.devstack.memcached:11211"
|
|
]
|
|
},
|
|
"default": {
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
|
"KEY_PREFIX": "sandbox_default",
|
|
"LOCATION": [
|
|
"edx.devstack.memcached:11211"
|
|
]
|
|
},
|
|
"general": {
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
|
"KEY_PREFIX": "sandbox_general",
|
|
"LOCATION": [
|
|
"edx.devstack.memcached:11211"
|
|
]
|
|
},
|
|
"mongo_metadata_inheritance": {
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
|
"KEY_PREFIX": "integration_mongo_metadata_inheritance",
|
|
"LOCATION": [
|
|
"edx.devstack.memcached:11211"
|
|
]
|
|
},
|
|
"staticfiles": {
|
|
"BACKEND": "django.core.cache.backends.memcached.MemcachedCache",
|
|
"KEY_FUNCTION": "common.djangoapps.util.memcache.safe_key",
|
|
"KEY_PREFIX": "integration_static_files",
|
|
"LOCATION": [
|
|
"edx.devstack.memcached:11211"
|
|
]
|
|
}
|
|
},
|
|
"CELERY_ALWAYS_EAGER": true,
|
|
"CELERY_BROKER_HOSTNAME": "localhost",
|
|
"CELERY_BROKER_TRANSPORT": "amqp",
|
|
"CERT_QUEUE": "certificates",
|
|
"CMS_BASE": "** OVERRIDDEN **",
|
|
"CODE_JAIL": {
|
|
"limits": {
|
|
"REALTIME": 3,
|
|
"VMEM": 0
|
|
}
|
|
},
|
|
"COMMENTS_SERVICE_KEY": "password",
|
|
"COMMENTS_SERVICE_URL": "http://edx.devstack.studio:4567",
|
|
"CONTACT_EMAIL": "info@example.com",
|
|
"DEFAULT_FEEDBACK_EMAIL": "feedback@example.com",
|
|
"DEFAULT_FROM_EMAIL": "registration@example.com",
|
|
"EMAIL_BACKEND": "django.core.mail.backends.smtp.EmailBackend",
|
|
"SOCIAL_SHARING_SETTINGS": {
|
|
"CUSTOM_COURSE_URLS": true
|
|
},
|
|
"FEATURES": {
|
|
"CERTIFICATES_HTML_VIEW": true,
|
|
"ENABLE_DISCUSSION_SERVICE": true,
|
|
"ENABLE_GRADE_DOWNLOADS": true,
|
|
"ENTRANCE_EXAMS": true,
|
|
"MILESTONES_APP": true,
|
|
"PREVIEW_LMS_BASE": "preview.localhost:8003",
|
|
"ENABLE_CONTENT_LIBRARIES": true,
|
|
"ENABLE_SPECIAL_EXAMS": true,
|
|
"SHOW_HEADER_LANGUAGE_SELECTOR": true,
|
|
"ENABLE_EXTENDED_COURSE_DETAILS": true,
|
|
"CUSTOM_COURSES_EDX": true
|
|
},
|
|
"GITHUB_REPO_ROOT": "** OVERRIDDEN **",
|
|
"GRADES_DOWNLOAD": {
|
|
"BUCKET": "edx-grades",
|
|
"ROOT_PATH": "/tmp/edx-s3/grades",
|
|
"STORAGE_TYPE": "localfs"
|
|
},
|
|
"LMS_BASE": "** OVERRIDDEN **",
|
|
"LMS_ROOT_URL": "** OVERRIDDEN **",
|
|
"LOCAL_LOGLEVEL": "INFO",
|
|
"LOGGING_ENV": "sandbox",
|
|
"LOG_DIR": "** OVERRIDDEN **",
|
|
"MEDIA_URL": "/media/",
|
|
"MKTG_URL_LINK_MAP": {},
|
|
"SERVER_EMAIL": "devops@example.com",
|
|
"SESSION_COOKIE_DOMAIN": null,
|
|
"SITE_NAME": "localhost",
|
|
"STATIC_URL_BASE": "/static/",
|
|
"SYSLOG_SERVER": "",
|
|
"TECH_SUPPORT_EMAIL": "technical@example.com",
|
|
"TIME_ZONE": "America/New_York",
|
|
"WIKI_ENABLED": true,
|
|
}
|