From e93dcc4068a78239cfad2adb12d0eeae5602753e Mon Sep 17 00:00:00 2001 From: Mahmoud Emad Date: Mon, 30 Oct 2023 10:55:30 +0200 Subject: [PATCH] Update the superuser name. --- server/cshr/models/users.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/cshr/models/users.py b/server/cshr/models/users.py index ac73d2c3..6b970f50 100644 --- a/server/cshr/models/users.py +++ b/server/cshr/models/users.py @@ -52,6 +52,8 @@ def create_user(self, email: str, password: str) -> "User": birthday=datetime.datetime.now(), location=office, user_type=USER_TYPE.ADMIN, + first_name="Codescalers", + last_name="Admin", ) user.set_password(password) user.save(using=self._db)