How to change django version in PyCharm?

前端 未结 7 1327
说谎
说谎 2021-02-14 09:39

I\'ve installed new PyCharm that uses django v1.71(default), but I would like to change it to v1.68.

How can we achieve this with PyCharm?

7条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-14 10:04

    You can open your project in pycharm and then change your django version by this method:

    menu->file->setting->project:(your project_name)
    

    In package list click on the package you want(here the package we want is Django).

    You can delete a package with minus(-) sign and install a package with plus(+) sign...

    For example if your previous Django version is 3.0 you can delete it and install even an older version.

提交回复
热议问题