Skip to content

Fix/cdodge/update localdev setting for unsafe courses - #372

Merged
chrisndodge merged 3 commits into
masterfrom
fix/cdodge/update-localdev-setting-for-unsafe-courses
Jul 11, 2013
Merged

Fix/cdodge/update localdev setting for unsafe courses#372
chrisndodge merged 3 commits into
masterfrom
fix/cdodge/update-localdev-setting-for-unsafe-courses

Conversation

@chrisndodge

Copy link
Copy Markdown
Contributor

Not sure I know why - maybe @cpennington or @ormsbee might have an idea - but the "COURSES_WITH_UNSAFE_CODE" was not getting into the localdev CMS settings (dev.py), even though cms.envs.common.py imports lms.envs.common.py.

So added an explicit setting in cms.common.py as well as adding a highly restrictive default value.

@nedbat @cahrens can you review?

Chris Dodge added 2 commits July 11, 2013 12:05
…mon.py, although cms.envs.common.py imports lms.envs.common (where this is defined).
@nedbat

nedbat commented Jul 11, 2013

Copy link
Copy Markdown
Contributor

This line doesn't pull in everything from lms:

import lms.envs.common

It just makes that available for this later:

for namespace, template_dirs in lms.envs.common.MAKO_TEMPLATES.iteritems():

Here's how we copied a value from lms to cms:

from lms.envs.common import USE_TZ

@nedbat

nedbat commented Jul 11, 2013

Copy link
Copy Markdown
Contributor

Good to merge. 👍

@chrisndodge

Copy link
Copy Markdown
Contributor Author

@cahrens can I get a thumbs up from you?

UPDATE: I added the unit test I know you were going to ask for :-)

@cahrens

cahrens commented Jul 11, 2013

Copy link
Copy Markdown

👍

chrisndodge pushed a commit that referenced this pull request Jul 11, 2013
…or-unsafe-courses

Fix/cdodge/update localdev setting for unsafe courses
@chrisndodge
chrisndodge merged commit cf2b1e0 into master Jul 11, 2013
@chrisndodge
chrisndodge deleted the fix/cdodge/update-localdev-setting-for-unsafe-courses branch August 8, 2013 18:39
chrisrossi pushed a commit to jazkarta/edx-platform that referenced this pull request Mar 31, 2014
New external grader format: JSON-serialized dict
Kelketek referenced this pull request in open-craft/openedx-platform Jan 21, 2015
fixed issues with organization metrics when organization has multiple courses
hachiyanagi-ks added a commit to nttks/edx-platform that referenced this pull request Oct 2, 2015
…x-messages-dashboard

Fix messages for dashboard openedx#314
hachiyanagi-ks added a commit to nttks/edx-platform that referenced this pull request Oct 6, 2015
…x-messages-dashboard

Fix messages for dashboard openedx#314
(cherry picked from commit 16852b7)

Conflicts:
	conf/locale/ja_JP/LC_MESSAGES/django.po
	conf/locale/ja_JP/LC_MESSAGES/mako.po
diegomillan pushed a commit to eduNEXT/edx-platform that referenced this pull request Sep 14, 2016
…o-help-urls

Edit link to edX Studio Documentation
Sujeet1379 pushed a commit to chandrudev/edx-platform that referenced this pull request Nov 17, 2022
kiram15 pushed a commit that referenced this pull request Jul 17, 2026
fix: honor YAML SEARCH_ENGINE override in production settings for LMS and CMS for meilisearch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants