Refactor: move "contents" applet to be "media"#488
Merged
ormsbee merged 1 commit intoopenedx:mainfrom Feb 23, 2026
Merged
Conversation
1e6921f to
fc6188a
Compare
This was referenced Feb 21, 2026
kdmccormick
approved these changes
Feb 23, 2026
Member
kdmccormick
left a comment
There was a problem hiding this comment.
LGTM, pending checks. Haven't tested anything manually, though.
Could you add a ! and a BREAKING CHANGE notice to the commit message?
fc72025 to
0da9906
Compare
BREAKING CHANGE for openedx-platform, as API function signatures and model relations in openedx_content have changed: - get_content -> get_media - get_content_info_headers -> get_media_info_headers - get_or_create_text_content -> get_or_create_text_media - get_or_create_file_content -> get_or_create_file_media - create_component_version_media -> create_component_version_media - look_up_component_version_content -> look_up_component_version_media - Content -> Media - ComponentVersionContent -> ComponentVersionMedia - ComponentVersion.contents -> ComponentVersion.media The rationale for this change is that we use the term "content" as a generic way to talk about all kinds of things: components, units, courses, etc. We've also recently refactored so that the entire app is called openedx_content. Changing our terminology to refer to raw data blobs as "media" helps to reduce confusion. Updates version to 0.35.0.
0da9906 to
531ff2d
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.