Changed admin full name to "Adminstrator".
This commit is contained in:
parent
053c3be030
commit
f62b7f299b
@ -223,7 +223,7 @@ def create_or_reset_admin_user():
|
|||||||
except User.DoesNotExist:
|
except User.DoesNotExist:
|
||||||
admin = User()
|
admin = User()
|
||||||
admin.username = 'admin'
|
admin.username = 'admin'
|
||||||
admin.last_name = 'Admin User'
|
admin.last_name = 'Administrator'
|
||||||
print("Created default admin user")
|
print("Created default admin user")
|
||||||
|
|
||||||
admin.is_superuser = True
|
admin.is_superuser = True
|
||||||
|
Loading…
Reference in New Issue
Block a user