How to upgrade django?

后端 未结 15 1349
情歌与酒
情歌与酒 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:25

    pip install --upgrade django
    

    works just fine, but before upgrading it's highly recommended to read this part from the documentation: https://docs.djangoproject.com/en/2.1/howto/upgrade-version/

提交回复
热议问题