migrate django 1.9 to 3.1 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