gold eggs backend
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
Some checks failed
Build and Push to Docker Hub / build-test-push (push) Failing after 1m55s
This commit is contained in:
1
core/http/database/seeder/__init__.py
Executable file
1
core/http/database/seeder/__init__.py
Executable file
@@ -0,0 +1 @@
|
||||
from .core import * # noqa
|
||||
11
core/http/database/seeder/core.py
Executable file
11
core/http/database/seeder/core.py
Executable file
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
Create a new user/superuser
|
||||
"""
|
||||
|
||||
from core.http import models
|
||||
|
||||
|
||||
class UserSeeder:
|
||||
def run(self):
|
||||
models.User.objects.create_user("998943990509", "2309")
|
||||
models.User.objects.create_superuser("998888112309", "2309")
|
||||
Reference in New Issue
Block a user