allow adding markers and authors to exams in collections
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user