mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-27 03:51:08 +00:00
Apply review suggestion
This commit is contained in:
parent
05142f4b73
commit
cae4934b48
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ urlpatterns = [
|
|||
# users
|
||||
re_path(rf"{USER_PATH}\.json$", views.User.as_view()),
|
||||
re_path(rf"{USER_PATH}/?$", views.User.as_view(), name="user-feed"),
|
||||
re_path(rf"@(?P<username>{regex.USERNAME})$", views.user_redirect),
|
||||
re_path(rf"^@(?P<username>{regex.USERNAME})$", views.user_redirect),
|
||||
re_path(rf"{USER_PATH}/rss/?$", views.rss_feed.RssFeed(), name="user-rss"),
|
||||
re_path(
|
||||
rf"{USER_PATH}/followers(.json)?/?$",
|
||||
|
|
Loading…
Reference in a new issue