how to upgrade to django code example Example 1: upgrade django $ python -m pip install -U Django Example 2: update django python -m pip install -U Django