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