From dfb09bbf4fe98437b64cef95fe8cf8ccadedbf47 Mon Sep 17 00:00:00 2001 From: Muhammad Qasim Gulzar <19186089+qasimgulzar@users.noreply.github.com> Date: Mon, 17 Jun 2024 20:14:15 +0500 Subject: [PATCH] fix: Unexpected "Copied_from_block" field in Advanced Settings (#34472) Closes https://github.com/openedx/edx-platform/issues/34370 --- cms/djangoapps/models/settings/course_metadata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cms/djangoapps/models/settings/course_metadata.py b/cms/djangoapps/models/settings/course_metadata.py index 93ce9bb87c5d..fd5219dfb472 100644 --- a/cms/djangoapps/models/settings/course_metadata.py +++ b/cms/djangoapps/models/settings/course_metadata.py @@ -3,8 +3,8 @@ """ -from datetime import datetime import logging +from datetime import datetime import pytz from django.conf import settings @@ -81,6 +81,7 @@ class CourseMetadata: 'highlights_enabled_for_messaging', 'is_onboarding_exam', 'discussions_settings', + 'copied_from_block', ] @classmethod