From 87f2ab526a35e8925c0e2ed975629e4075b10389 Mon Sep 17 00:00:00 2001 From: Ross Date: Thu, 23 Dec 2021 17:21:23 +0000 Subject: [PATCH] . --- atlas/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atlas/models.py b/atlas/models.py index bab560aa..efc3e2ac 100644 --- a/atlas/models.py +++ b/atlas/models.py @@ -269,7 +269,7 @@ class Case(models.Model): notes = GenericRelation(QuestionNote) - previous_case = models.OneToOneField("Case", on_delete=models.SET_NULL, null=True, related_name="next_case") + previous_case = models.OneToOneField("Case", on_delete=models.SET_NULL, null=True, related_name="next_case", blank=True) # question_file = models.FileField(upload_to=question_file_directory_path, blank=True, null=True)