19 lines
344 B
Python
19 lines
344 B
Python
from django.contrib.auth.models import User
|
|
|
|
|
|
def create_users():
|
|
User.objects.create(
|
|
username="neill",
|
|
is_superuser=True,
|
|
first_name="Neill",
|
|
last_name="Cox",
|
|
email="neill@neill.id.au",
|
|
is_staff=True,
|
|
is_active=True,
|
|
date_joined="2024-07-31T00:00:00.000Z",
|
|
|
|
)
|
|
|
|
|
|
if __name__ == "__main__":
|
|
create_users()
|