From 96768c64b7307d7598f4ddc9dfa26368613baf36 Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Sun, 20 Oct 2024 23:53:03 -0400 Subject: [PATCH] temp: almost add has_normalized_asset_refs to content_staging models --- openedx/core/djangoapps/content_staging/models.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/openedx/core/djangoapps/content_staging/models.py b/openedx/core/djangoapps/content_staging/models.py index 2eab7954e826..326922c175ef 100644 --- a/openedx/core/djangoapps/content_staging/models.py +++ b/openedx/core/djangoapps/content_staging/models.py @@ -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 """