-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: [AXM-349] Implement media generation for problem xblock #2568
Conversation
b0f99cd
to
cf7f366
Compare
969e20e
to
e7a46ae
Compare
log = logging.getLogger(__name__) | ||
|
||
|
||
def get_static_file_path(relative_path): |
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.
We probably will need to use utils from other modules to resolve static for sure
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.
If you mean to use an existing method for this, then unfortunately I couldn't find one, because it uses STATIC_ROOT
, not STATIC_URL
.
And if you mean to use this method from another part of the platform, then there shouldn't be any problems with that, because assets_management
doesn't have imports from LMS and CMS
e46b93c
to
709e588
Compare
b3114b2
to
450e04a
Compare
0b64264
into
NiedielnitsevIvan/AXM-542/feature/Render-xblock-in-CMS
* feat: [AXM-349] Implement media generation for problem xblock * feat: [AXM-349] refactor offline content generation * style: [AXM-349] fix style issues * refactor: [AXM-349] move MathJax to assets * fix: [AXM-349] fix wrong filename * refactor: [AXM-349] refactor generated file pathes and generating task launching * style: [AXM-349] remove unused import
No description provided.