how to update django pip update django code example
Example 1: update django
python -m pip install -U Django
Example 2: update a package with pip in django
pip install --upgrade django-allauth # updates django-allauth packages
python -m pip install -U Django
pip install --upgrade django-allauth # updates django-allauth packages