Install Python
Get the latest version of python from the link below
Check Python version
python --version
Check pip version
pip --version
Installing Django
python -m pip install django
Check Django Version
python -m django --version
Create Django App
django-admin startproject <project-name>
cd <project-name>
django-admin startapp <app-name>
Migrations in Django app
python manage.py makemigrations
python manage.py migrate
Starting Django Server
python manage.py runserver
Then open http://127.0.0.1:8000/ to see your app
Top comments (0)