forked from mirrors/bookwyrm
Status isn't just for local users
This commit is contained in:
parent
67661274a6
commit
7cf87be35c
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ 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
|
||||||
status_path = r'%s/(status|review)/(?P<status_id>\d+)' % local_user_path
|
status_path = r'%s/(status|review)/(?P<status_id>\d+)' % user_path
|
||||||
|
|
||||||
urlpatterns = [
|
urlpatterns = [
|
||||||
path('admin/', admin.site.urls),
|
path('admin/', admin.site.urls),
|
||||||
|
|
Loading…
Reference in a new issue