mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2025-01-11 17:55:37 +00:00
Merge pull request #2285 from bookwyrm-social/isbn-url
Allow x in isbn path
This commit is contained in:
commit
35cf907f8b
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ urlpatterns = [
|
||||||
name="author-update-remote",
|
name="author-update-remote",
|
||||||
),
|
),
|
||||||
# isbn
|
# 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
|
# author
|
||||||
re_path(
|
re_path(
|
||||||
r"^author/(?P<author_id>\d+)(.json)?/?$", views.Author.as_view(), name="author"
|
r"^author/(?P<author_id>\d+)(.json)?/?$", views.Author.as_view(), name="author"
|
||||||
|
|
Loading…
Reference in a new issue