Skip to content

Commit 901d080

Browse files
authored
Merge pull request #220 from edx/pwnage101/enable-enterprise-before-plugins
fix: enable the enterprise feature BEFORE plugins are loaded
2 parents d2bcf95 + 043a7c9 commit 901d080

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

configuration_files/lms.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -303,14 +303,19 @@ ELASTIC_SEARCH_CONFIG:
303303
- host: edx.devstack.elasticsearch
304304
port: 9200
305305
use_ssl: false
306-
ENABLE_MKTG_SITE: true
306+
ENABLE_MKTG_SITE: true
307307
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
308308
EMAIL_HOST: localhost
309309
EMAIL_HOST_PASSWORD: ''
310310
EMAIL_HOST_USER: ''
311311
EMAIL_PORT: 25
312312
EMAIL_USE_TLS: false
313313
ENABLE_COMPREHENSIVE_THEMING: false
314+
# Enable enterprise integration.
315+
# See https://github.com/openedx/edx-enterprise/blob/master/docs/development.rst for
316+
# more background on edx-enterprise.
317+
# Toggle this off if you don't want anything to do with enterprise in devstack.
318+
ENABLE_ENTERPRISE_INTEGRATION: true
314319
ENTERPRISE_API_URL: http://edx.devstack.lms:18000/enterprise/api/v1
315320
ENTERPRISE_COURSE_ENROLLMENT_AUDIT_MODES:
316321
- audit

py_configuration_files/lms.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -415,12 +415,6 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing
415415
ENABLE_DISCUSSION_SERVICE = True
416416
SHOW_HEADER_LANGUAGE_SELECTOR = True
417417

418-
# Enable enterprise integration by default.
419-
# See https://github.com/openedx/edx-enterprise/blob/master/docs/development.rst for
420-
# more background on edx-enterprise.
421-
# Toggle this off if you don't want anything to do with enterprise in devstack.
422-
ENABLE_ENTERPRISE_INTEGRATION = True
423-
424418
ENABLE_MKTG_SITE = os.environ.get('ENABLE_MARKETING_SITE', False)
425419

426420
MKTG_URLS = {

0 commit comments

Comments
 (0)