.
This commit is contained in:
@@ -124,6 +124,11 @@ class QuestionNote(models.Model):
|
||||
#author = models.ForeignKey(User,
|
||||
|
||||
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)
|
||||
|
||||
note = models.TextField()
|
||||
created_on = models.DateTimeField(auto_now_add=True)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user