2017-04-16 02:15:26 +00:00
|
|
|
from django.conf.urls import url
|
|
|
|
|
2017-04-18 17:37:10 +00:00
|
|
|
from ..views.user import (SSOAPI, AvatarUploadAPI, TwoFactorAuthAPI,
|
2017-08-01 08:52:48 +00:00
|
|
|
UserProfileAPI)
|
2017-04-16 02:15:26 +00:00
|
|
|
|
|
|
|
urlpatterns = [
|
2017-07-20 07:52:11 +00:00
|
|
|
# url(r"^username/?$", UserNameAPI.as_view(), name="user_name_api"),
|
2017-04-18 07:39:49 +00:00
|
|
|
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")
|
2017-04-16 02:15:26 +00:00
|
|
|
]
|