diff --git a/backend/core/models.py b/backend/core/models.py index 1b6f53188..947ceb4a0 100644 --- a/backend/core/models.py +++ b/backend/core/models.py @@ -596,7 +596,7 @@ def update_library(self) -> Union[str, None]: if answer["answer"] not in question["question_choices"]: answer["answer"] = "" - elif question_type != "text": + elif question_type not in ["text", "date"]: raise NotImplementedError( f"The question type '{question_type}' hasn't been implemented !" )