diff --git a/bookwyrm/tests/views/test_readthrough.py b/bookwyrm/tests/views/test_readthrough.py index a686cb7c..f51e89af 100644 --- a/bookwyrm/tests/views/test_readthrough.py +++ b/bookwyrm/tests/views/test_readthrough.py @@ -33,7 +33,7 @@ class ReadThrough(TestCase): self.assertEqual(self.edition.readthrough_set.count(), 0) self.client.post( - "/start-reading/{}".format(self.edition.id), + "/reading-progress/start/{}".format(self.edition.id), { "start_date": "2020-11-27", }, @@ -54,7 +54,7 @@ class ReadThrough(TestCase): self.assertEqual(self.edition.readthrough_set.count(), 0) self.client.post( - "/start-reading/{}".format(self.edition.id), + "/reading-progress/start/{}".format(self.edition.id), { "start_date": "2020-11-27", }, diff --git a/bookwyrm/views/reading.py b/bookwyrm/views/reading.py index 14e02ae6..1c897ab3 100644 --- a/bookwyrm/views/reading.py +++ b/bookwyrm/views/reading.py @@ -26,8 +26,8 @@ class ReadingStatus(View): book = get_edition(book_id) template = { "want": "want.html", - "finish": "start.html", - "start": "finish.html", + "start": "start.html", + "finish": "finish.html", }.get(status) if not template: return HttpResponseNotFound()