refactor: deprecate static_url argument from ModuleSystem

This argument was officially used only by the ProblemBlock.
If you need to get the base URL for static assets in your XBlock, please use
`settings.STATIC_URL` directly, instead of `runtime.STATIC_URL`.
This commit is contained in:
Agrendalath
2022-06-25 23:05:09 +02:00
committed by Piotr Surowiec
parent 9f30fece9a
commit 668683559b
8 changed files with 22 additions and 23 deletions

View File

@@ -680,7 +680,6 @@ def get_module_system_for_user(
system = LmsModuleSystem(
track_function=track_function,
static_url=settings.STATIC_URL,
get_module=inner_get_module,
user=user,
publish=publish,