add message
This commit is contained in:
parent
5b1d76639c
commit
bc64b897b4
Binary file not shown.
|
@ -139,6 +139,7 @@ def register_step_two(request):
|
||||||
return JsonResponse({'status': 'error', 'message': '账号不存在'})
|
return JsonResponse({'status': 'error', 'message': '账号不存在'})
|
||||||
profile.department = department
|
profile.department = department
|
||||||
profile.post = post
|
profile.post = post
|
||||||
|
profile.status = 1
|
||||||
profile.save()
|
profile.save()
|
||||||
UserModel = get_user_model()
|
UserModel = get_user_model()
|
||||||
user = UserModel.objects.get(username=phone)
|
user = UserModel.objects.get(username=phone)
|
||||||
|
|
Loading…
Reference in New Issue