fix: default for CertificatesDisplayBehaviors is enum string value, not enum.

This should correct a large number of errors encountered when trying
to dump courses to neo4j.

TNL-8386
This commit is contained in:
Ken Clary
2021-10-27 14:59:24 -04:00
parent b01e773d2b
commit bfd09236a2

View File

@@ -563,7 +563,7 @@ class CourseFields: # lint-amnesty, pylint: disable=missing-class-docstring
"user can see their certificate for the course"
),
scope=Scope.settings,
default=CertificatesDisplayBehaviors.END,
default=CertificatesDisplayBehaviors.END.value,
)
course_image = String(
display_name=_("Course About Page Image"),