add conf app and related test and settings

This commit is contained in:
virusdefender
2016-11-19 13:47:59 +08:00
parent 7fcc4d972b
commit 637baba71b
17 changed files with 263 additions and 29 deletions

View File

@@ -3,7 +3,7 @@ from django.conf.urls import url
from ..views.oj import UserLoginAPI, UserRegisterAPI, UserChangePasswordAPI
urlpatterns = [
url(r'^login/$', UserLoginAPI.as_view(), name="user_login_api"),
url(r'^register/$', UserRegisterAPI.as_view(), name="user_register_api"),
url(r'^change_password/$', UserChangePasswordAPI.as_view(), name="user_change_password_api")
url(r'^login$', UserLoginAPI.as_view(), name="user_login_api"),
url(r'^register$', UserRegisterAPI.as_view(), name="user_register_api"),
url(r'^change_password$', UserChangePasswordAPI.as_view(), name="user_change_password_api")
]