How to upgrade django?

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

    1. Use this command to get all available Django versions: yolk -V django
    2. Type pip install -U Django for latest version, or if you want to specify version then use pip install --upgrade django==1.6.5

    NOTE: Make sure you test locally with the updated version of Django before updating production.

提交回复
热议问题