custom-command
|
|------Core
| |
| |----- __pycache__
| |----- __init__.py
| |----- asgi.py
| |----- setting.py
| |----- urls.py
| |----- wsgi.py
|
|------custom_command
| |
| |----------------- __pycache__
| |----------------- management
| | |
| | |
| |----- migrations |-----commands
| | |----__pycache__ | |----- __pycache__
| | |----__init__.py | |----- namegen.py
| | | |----- usergen.py
| |----- __init__.py
| |----- admin.py
| |----- apps.py
| |----- models.py
| |----- tests.py
| |----- views.py
|
|------db.sqlite3
|------manage.py
py manage.py namegen
output:
-----------New name----------
Name: yVXAPErgG7mMvum
name Generate Succesfully Completed!
Mail Name
Todd Beasley
John Taylor
Kelly Broome
William Mattione
Christopher Kridler
Daren Goodwin
Earnest Reed
Richard Robinson
Femail Name
Rebecca Keller
Melissa Pastian
Gerda Roof
Edith Warren
Jane Hopkins
Sonia Derringer
py manage.py usergen 1
note: ( usergen 1) Here 1 is the quantity
===========New User==========
username: bdrtL3m5PW
email: [email protected]
password : 2uEtdGsMP5
account created Succesfully Completed!
or Create user with full access permissions
py manage.py usergen 2 -a
py -m venv env
.\env\Scripts\activate
pip install -r requirements.txt
py manage.py makemigrations
py manage.py migration
py manage.py runserver
http://127.0.0.1:8000/