Add editions view

This commit is contained in:
Mouse Reeve
2022-02-25 16:40:34 -08:00
parent 1d99e455e8
commit c67f92af46
7 changed files with 196 additions and 77 deletions

View File

@ -496,7 +496,8 @@ urlpatterns = [
),
re_path(rf"{BOOK_PATH}/edit/?$", views.EditBook.as_view(), name="edit-book"),
re_path(rf"{BOOK_PATH}/confirm/?$", views.ConfirmEditBook.as_view()),
re_path(r"^create-book/?$", views.EditBook.as_view(), name="create-book"),
re_path(r"^create-book/data/?$", views.create_book_from_data, name="create-book-data"),
re_path(r"^create-book/?$", views.CreateBook.as_view(), name="create-book"),
re_path(r"^create-book/confirm/?$", views.ConfirmEditBook.as_view()),
re_path(rf"{BOOK_PATH}/editions(.json)?/?$", views.Editions.as_view()),
re_path(