How to upgrade django?

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

    From the Django Docs: if you are using a Virtual Environment and it is a major upgrade, you might want to set up a new environment with the dependencies first. Or, if you have installed Django using the PIP, then the below is for you: python3.8 -m pip install -U Django .

提交回复
热议问题