fix issue

pull/345/head
vapao 2021-07-12 22:32:38 +08:00
parent 5a378c8d11
commit 54c1ee31d1
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ class UserView(View):
if form.id:
User.objects.filter(pk=form.id).update(**form)
else:
User.objects.create(
user = User.objects.create(
password_hash=User.make_password(password),
created_by=request.user,
**form