feat: add submission assignee model
This commit is contained in:
parent
d2ca7db7aa
commit
48216a8862
|
@ -105,3 +105,10 @@ class Rating(models.Model):
|
|||
fields=("submission", "juror"), name="unique_rating"
|
||||
),
|
||||
]
|
||||
|
||||
|
||||
class Assignee(models.Model):
|
||||
submission = models.OneToOneField("submission.Submission", on_delete=models.CASCADE)
|
||||
user = models.ForeignKey(
|
||||
"person.User", on_delete=models.CASCADE, related_name="assigned_submissions"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue