Add missing type annotation

This commit is contained in:
Jake Howard 2022-07-03 22:00:52 +01:00
parent 03e9da57a1
commit ebfb909c98
Signed by: jake
GPG key ID: 57AFB45680EDD477

View file

@ -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))