From ebfb909c98d92bcced8c7f5d2e84b3fcc4f3a781 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 3 Jul 2022 22:00:52 +0100 Subject: [PATCH] Add missing type annotation --- website/common/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/common/models.py b/website/common/models.py index 592a4eb..965005d 100644 --- a/website/common/models.py +++ b/website/common/models.py @@ -69,7 +69,7 @@ class BaseContentMixin(models.Model): return truncate_streamfield(self.body, 50) @cached_property - def body_html(self): + def body_html(self) -> str: return add_heading_anchors(str(self.body))