This commit is contained in:
Ross
2021-09-09 17:14:09 +01:00
parent a816ec8df4
commit d5f2e37817
3 changed files with 40 additions and 2 deletions
+1 -2
View File
@@ -126,8 +126,7 @@ class QuestionNote(models.Model):
author = models.CharField(max_length=200, blank=True)
user_author = models.ForeignKey( settings.AUTH_USER_MODEL,
related_name="rapid_notes",
on_delete=models.CASCADE, blank=True)
on_delete=models.CASCADE, blank=True, null=True)
note = models.TextField()
created_on = models.DateTimeField(auto_now_add=True)