diff --git a/bookwyrm/activitypub/note.py b/bookwyrm/activitypub/note.py index b478c96dd..72fbe5fc2 100644 --- a/bookwyrm/activitypub/note.py +++ b/bookwyrm/activitypub/note.py @@ -53,7 +53,7 @@ class Comment(Note): @dataclass(init=False) class Review(Comment): ''' a full book review ''' - name: str + name: str = None rating: int = None type: str = 'Review' diff --git a/bookwyrm/templates/snippets/content_warning_field.html b/bookwyrm/templates/snippets/content_warning_field.html index e2f561f24..9249602af 100644 --- a/bookwyrm/templates/snippets/content_warning_field.html +++ b/bookwyrm/templates/snippets/content_warning_field.html @@ -1,4 +1,5 @@ -{% with uuid as uuid %} +{% load bookwyrm_tags %} +{% with 0|uuid as uuid %}