How to change django version in PyCharm?

前端 未结 7 1330
说谎
说谎 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 09:47

    Go to Settings->Project Interpreter.

    Double-click the Django package. Activate the check box Specify version and select the version you want.

    Press the button Install Package.

    Django will use pip in the background to install the package.

提交回复
热议问题