My project was running on Django 1.5.4 and I wanted to upgrade it. I did pip install -U -I django and now pip freeze shows Django 1.6.5 (clearly django
pip install -U -I django
pip freeze
sudo pip install --upgrade django
also upgrade the DjangoRestFramework:
sudo pip install --upgrade djangorestframework