From 6ac27438444ffc3308c0c9e6792a582cdf1745ca Mon Sep 17 00:00:00 2001 From: Ross Date: Mon, 5 Feb 2024 09:36:02 +0000 Subject: [PATCH] it wasn't correct typing... --- generic/mixins.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"""