01 Jul 2024
django-admin startproject myproject
Running the above command creates myproject
directory nested inside another myproject
directory. If you do not want this nested structure, use the following
django-admin startproject myproject .
python manage.py startapp myapp
python manage.py createsuperuser
python manage.py changepassword <admin_username>
python manage.py makemigrations
python manage.py migrate
python manage.py collectstatic
python manage.py runserver
python manage.py shell