-
Notifications
You must be signed in to change notification settings - Fork 16
fix: mktg urls from the configuration #193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
29ccaab
37d5adf
5b84a61
f0ca034
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -425,31 +425,24 @@ def should_show_debug_toolbar(request): # lint-amnesty, pylint: disable=missing | |||||
| }) | ||||||
|
|
||||||
| ENABLE_MKTG_SITE = os.environ.get('ENABLE_MARKETING_SITE', True) | ||||||
| MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', 'http://localhost:8080') | ||||||
| MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', '/') | ||||||
|
||||||
| MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', '/') | |
| MARKETING_SITE_ROOT = os.environ.get('MARKETING_SITE_ROOT', 'http://localhost:18000') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ktyagiapphelix2u Can this entire setting be removed ?
As we already have MKTG_URLS['ROOT'] so should we rely on this variable anymore ?
Can you check with @robrap or in general with community on this ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
FAQkey was removed fromconfiguration_files/lms.ymlbut is still present inpy_configuration_files/lms.py(line 437:'FAQ': '/student-faq'). These two configuration files should remain consistent. Either addFAQback to the YAML file or remove it from the Python file as well.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks relevant comment