What I used when using Django So I will not forget
pip install django
Run in the directory you want to create a project
django-admin startproject "project name"
Run in the directory where manage.py is stored
python manage.py startapp "app name"
Run in the directory where manage.py is stored
python manage.py runserver
python manage.py runserver "port number"
Run in the directory where manage.py is stored
python manage.py makemigrations "app name"
Run in the directory where manage.py is stored
python manage.py migrate
Recommended Posts