diff --git a/generic/mixins.py b/generic/mixins.py index d0d8f4d5..cb72090d 100644 --- a/generic/mixins.py +++ b/generic/mixins.py @@ -13,7 +13,7 @@ class AuthorMixin(): requires an author many to many field to be defined on the derived class """ - author: models.ManyToManyField[User] # Is this correct typing? + author: models.ManyToManyField(User) # Is this correct typing? def get_author_objects(self) -> list[User]: """Returns list of author objects"""