How to upgrade django?

后端 未结 15 1356
情歌与酒
情歌与酒 2021-01-31 07:57

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

15条回答
  •  温柔的废话
    2021-01-31 08:20

    sudo pip install --upgrade django

    also upgrade the DjangoRestFramework:

    sudo pip install --upgrade djangorestframework

提交回复
热议问题