Add missing type annotation
This commit is contained in:
parent
03e9da57a1
commit
ebfb909c98
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ class BaseContentMixin(models.Model):
|
||||||
return truncate_streamfield(self.body, 50)
|
return truncate_streamfield(self.body, 50)
|
||||||
|
|
||||||
@cached_property
|
@cached_property
|
||||||
def body_html(self):
|
def body_html(self) -> str:
|
||||||
return add_heading_anchors(str(self.body))
|
return add_heading_anchors(str(self.body))
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue