Skip to content

Commit

Permalink
temp: almost add has_normalized_asset_refs to content_staging models
Browse files Browse the repository at this point in the history
  • Loading branch information
ormsbee committed Oct 21, 2024
1 parent c955367 commit 96768c6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions openedx/core/djangoapps/content_staging/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,11 @@ class Meta:
# Tags applied to the original source block(s) will be copied to the new block(s) on paste.
tags = models.JSONField(null=True, help_text=_("Content tags applied to these blocks"))

# Static assets.
#
# File paths start with "static/", references
# has_normalized_asset_refs = models.BooleanField(default=False)

@property
def olx_filename(self) -> str:
""" Get a filename that can be used for the OLX content of this staged content """
Expand Down

0 comments on commit 96768c6

Please sign in to comment.