allow adding markers and authors to exams in collections

This commit is contained in:
Ross
2025-01-06 20:11:57 +00:00
parent 9bb4d8bc08
commit 9d4487b7f5
8 changed files with 162 additions and 4 deletions
+4
View File
@@ -51,6 +51,10 @@ class AuthorMixin():
return "None"
return authors
def add_authors(self, users : List[User]):
"""Add an author to the object"""
self.author.add(*users)
def add_author(self, user: User):
"""Add an author to the object"""
self.author.add(user)