pip install --upgrade django==1.6.5
Here is what the above code is Doing:
1. We’re using the pip command to install the Django package.
2. We’re using the –upgrade option to tell pip to upgrade Django if it’s already installed.
3. We’re specifying the version of Django we want to install.