mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-12-25 01:20:35 +00:00
Allow x in isbn path
This commit is contained in:
parent
775ee6f590
commit
98562dc92f
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ urlpatterns = [
|
|||
name="author-update-remote",
|
||||
),
|
||||
# isbn
|
||||
re_path(r"^isbn/(?P<isbn>\d+)(.json)?/?$", views.Isbn.as_view()),
|
||||
re_path(r"^isbn/(?P<isbn>[\dxX]+)(.json)?/?$", views.Isbn.as_view()),
|
||||
# author
|
||||
re_path(
|
||||
r"^author/(?P<author_id>\d+)(.json)?/?$", views.Author.as_view(), name="author"
|
||||
|
|
Loading…
Reference in a new issue