Upgrade django version

when i use command pip install django . its say upgrade django version . so how can i upgrade django version.

sir while waiting for your reply i found the solution myself.
python -m pip install --upgrade pip