django python install code example
Example 1: installing django
python -m pip install Django
Example 2: install django
$ python -m pip install Django
Example 3: django python install
py -m pip install django
setx PATH "%PATH%;C:\<path\to\python\directory\>\Scripts"
pip install django
py -m pip install --trusted-host pypi.python.org pip django
py -m pip install --user django
py -m venv c:\path\to\new\environment
c:\path\to\new\environment\Scripts\activate.bat
Example 4: how to install django
pip install django
django-admin startproject project_name
cd project_name
python manage.py makemigrations
python manage.py migrate
python manage.py createsuperuser
python manage.py runserver
python manage.py startapp sub_module