admin webpack template

This commit is contained in:
LiYang
2016-07-31 15:55:31 +08:00
parent c8b2546ba2
commit fd9f740e76
169 changed files with 14872 additions and 88396 deletions

View File

@@ -64,6 +64,11 @@ class UserLoginAPIView(APIView):
else:
return serializer_invalid_response(serializer)
# todo remove this
def get(self, request):
auth.login(request, auth.authenticate(username="root", password="123456"))
return success_response({})
class UserRegisterAPIView(APIView):
def post(self, request):