Status isn't just for local users

This commit is contained in:
Mouse Reeve 2020-03-10 11:26:45 -07:00
parent 67661274a6
commit 7cf87be35c

View file

@ -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),