This commit is contained in:
Chris Dodge
2013-07-25 00:50:42 -04:00
parent 2616d8f7a2
commit cff93d324b
12 changed files with 53 additions and 19 deletions

View File

@@ -124,7 +124,7 @@ def replace_static_urls(text, data_directory, course_id=None):
else:
# if not, then assume it's courseware specific content and then look in the
# Mongo-backed database
url = StaticContent.convert_legacy_static_url(rest, course_id)
url = StaticContent.convert_legacy_static_url_with_course_id(rest, course_id)
# Otherwise, look the file up in staticfiles_storage, and append the data directory if needed
else:
course_path = "/".join((data_directory, rest))