diff --git a/bookwyrm/templates/snippets/reading_modals/want_to_read_modal.html b/bookwyrm/templates/snippets/reading_modals/want_to_read_modal.html index 9263fe326..1213b18e9 100644 --- a/bookwyrm/templates/snippets/reading_modals/want_to_read_modal.html +++ b/bookwyrm/templates/snippets/reading_modals/want_to_read_modal.html @@ -10,6 +10,6 @@ Want to Read "{{ book_title }}" {% block modal-form-open %}
- + {% csrf_token %} {% endblock %} diff --git a/bookwyrm/views/reading.py b/bookwyrm/views/reading.py index 390662650..9100e1d43 100644 --- a/bookwyrm/views/reading.py +++ b/bookwyrm/views/reading.py @@ -83,7 +83,7 @@ class ReadingStatus(View): form.save() else: # uh oh - raise Exception("Invalid form") + raise Exception(form.errors) else: privacy = request.POST.get("privacy") handle_reading_status(request.user, desired_shelf, book, privacy)