Allow multiple ways to access url and fix ci
This commit is contained in:
@@ -7,9 +7,9 @@ from ..views.user import (UserInfoAPI, UserProfileAPI, AvatarUploadAPI,
|
||||
SSOAPI, TwoFactorAuthAPI)
|
||||
|
||||
urlpatterns = [
|
||||
url(r"^user$", UserInfoAPI.as_view(), name="user_info_api"),
|
||||
url(r"^profile$", UserProfileAPI.as_view(), name="user_profile_api"),
|
||||
url(r"^avatar/upload$", AvatarUploadAPI.as_view(), name="avatar_upload_api"),
|
||||
url(r"^sso$", SSOAPI.as_view(), name="sso_api"),
|
||||
url(r"^two_factor_auth$", TwoFactorAuthAPI.as_view(), name="two_factor_auth_api")
|
||||
url(r"^user/?$", UserInfoAPI.as_view(), name="user_info_api"),
|
||||
url(r"^profile/?$", UserProfileAPI.as_view(), name="user_profile_api"),
|
||||
url(r"^avatar/upload/?$", AvatarUploadAPI.as_view(), name="avatar_upload_api"),
|
||||
url(r"^sso/?$", SSOAPI.as_view(), name="sso_api"),
|
||||
url(r"^two_factor_auth/?$", TwoFactorAuthAPI.as_view(), name="two_factor_auth_api")
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user