python - Correct way to update django to a specific (but not most recent) version via pipenv
问题描述
I am currently using django==2.2.5
, managing my dependencies via pipenv
and would like to upgrade to django==2.2.15
Unfortunately the pipenv documentation does not say anything regarding the option of specifying a certain version when using pipenv update
- hence my problem/question:
Since the command pipenv update django
would update my django to the latest 3.1 version but I only want to update to version 2.2.15 I have to use pipenv install django==2.2.15
. True or Not? And if not, what would be the correct way?
Since I am doing this the first time, I am amfraid to mess things up , so just wanted to be on the safe side, before proceeding....
解决方案
You can use the command pipenv install django=='2.2.15'
to make update to a specific version.
推荐阅读
- javascript - 如何使用 waitForKeyElements 从嵌套的 html 元素中选择文本
- sql - 甲骨文:SQL;当且仅当一列更改时选择不同的记录
- r - Mclust (GMM) 图形太小(graohics 矩阵)
- javascript - Why is this template literal argument changing the css grid layout?
- exception - Laravel 中止和异常添加调试/堆栈跟踪到 API 响应 | APP_DEBUG=假
- javascript - 提交表单时,我不断收到 nil 值
- java - Android - TextView setText 有时只更新文本
- java - Spring Data DynamoDB - 存储库执行扫描而不是查询
- html - CSS中的目标背景图像(url)?
- python - Collatz 猜想 - 在 python 中自动运行