Fixes syntax problem on http raises

This commit is contained in:
Mouse Reeve
2021-09-27 15:57:22 -07:00
parent 84443c7f81
commit e6ae500569
8 changed files with 10 additions and 11 deletions

View File

@ -276,7 +276,7 @@ urlpatterns = [
# User books
re_path(rf"{USER_PATH}/books/?$", views.Shelf.as_view(), name="user-shelves"),
re_path(
rf"^{USER_PATH}/(helf|books)/(?P<shelf_identifier>[\w-]+)(.json)?/?$",
rf"^{USER_PATH}/(shelf|books)/(?P<shelf_identifier>[\w-]+)(.json)?/?$",
views.Shelf.as_view(),
name="shelf",
),