mirror of
https://github.com/bookwyrm-social/bookwyrm.git
synced 2024-11-22 17:41:08 +00:00
Capture parameter from username_regex.
This commit is contained in:
parent
d2e51f05e8
commit
38ec3c554b
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from django.urls import path, re_path
|
||||||
from fedireads import incoming, outgoing, views, settings, wellknown
|
from fedireads import incoming, outgoing, views, settings, wellknown
|
||||||
from fedireads import view_actions as actions
|
from fedireads import view_actions as actions
|
||||||
|
|
||||||
username_regex = r'[\w@\.-]+'
|
username_regex = r'(?P<username>[\w@\.-]+)'
|
||||||
localname_regex = r'(?P<username>[\w\.-]+)'
|
localname_regex = r'(?P<username>[\w\.-]+)'
|
||||||
user_path = r'^user/%s' % username_regex
|
user_path = r'^user/%s' % username_regex
|
||||||
local_user_path = r'^user/%s' % localname_regex
|
local_user_path = r'^user/%s' % localname_regex
|
||||||
|
|
Loading…
Reference in a new issue