Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 18 additions & 3 deletions configuration_files/lms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ ELASTIC_SEARCH_CONFIG:
- host: edx.devstack.elasticsearch
port: 9200
use_ssl: false
ENABLE_MKTG_SITE: true
ENABLE_MKTG_SITE: true
EMAIL_BACKEND: django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST: localhost
EMAIL_HOST_PASSWORD: ''
Expand Down Expand Up @@ -424,13 +424,28 @@ MEDIA_URL: /media/
MKTG_URLS:
ROOT: http://localhost:18000
ABOUT: /about
ACCESSIBILITY: /accessibility
AFFILIATES: /affiliate-program
BLOG: /blog
CAREERS: /careers
CONTACT: /contact
FAQ: /help
COURSES: /course
TOS: /edx-terms-service
DONATE: /donate
Copy link

Copilot AI Nov 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The FAQ key was removed from configuration_files/lms.yml but is still present in py_configuration_files/lms.py (line 437: 'FAQ': '/student-faq'). These two configuration files should remain consistent. Either add FAQ back to the YAML file or remove it from the Python file as well.

Suggested change
DONATE: /donate
DONATE: /donate
FAQ: /student-faq

Copilot uses AI. Check for mistakes.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks relevant comment

ENTERPRISE: /enterprise
FAQ: /help
HONOR: /honor
HOW_IT_WORKS: /how-it-works
MEDIA_KIT: /media-kit
NEWS: /news-announcements
PRESS: /press
PRIVACY: /privacy
SCHOOLS: /schools-partners
SITE_MAP: /sitemap
TRADEMARKS: /trademarks
TOS: /edx-terms-service
TOS_AND_HONOR: /tos_and_honor
WHAT_IS_VERIFIED_CERT: /verified-certificate
PROGRAM_SUBSCRIPTIONS: /program-subscriptions
MOBILE_STORE_URLS: {}
MODULESTORE:
default:
Expand Down
7 changes: 3 additions & 4 deletions py_configuration_files/lms.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,10 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing
'ENABLE_ENTERPRISE_INTEGRATION': True,
})

ENABLE_MKTG_SITE = os.environ.get('ENABLE_MARKETING_SITE', True)
MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', 'http://localhost:8080')
ENABLE_MKTG_SITE = os.environ.get('ENABLE_MARKETING_SITE', False)

MKTG_URLS = {
'ROOT': '/',
'ABOUT': '/about',
'ACCESSIBILITY': '/accessibility',
'AFFILIATES': '/affiliate-program',
Expand All @@ -444,12 +444,11 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing
'NEWS': '/news-announcements',
'PRESS': '/press',
'PRIVACY': '/edx-privacy-policy',
'ROOT': MARKETING_SITE_ROOT,
'SCHOOLS': '/schools-partners',
'SITE_MAP': '/sitemap',
'TRADEMARKS': '/trademarks',
'TOS': '/edx-terms-service',
'TOS_AND_HONOR': '/edx-terms-service',
'TOS_AND_HONOR': '/tos_and_honor',
'WHAT_IS_VERIFIED_CERT': '/verified-certificate',
'PROGRAM_SUBSCRIPTIONS': '/program-subscriptions',
}
Expand Down
Loading