使用Pip从Pull请求中修补Django站点包 [英] Patch Django Site Package From a Pull Request Using Pip

查看:156
本文介绍了使用Pip从Pull请求中修补Django站点包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要申请拉请求51 到我的Django项目中的本地安装的Site Package,但是我不知道如何在没有直接应用到本地库的情况下完成。

I need to apply pull request 51 to a locally installed Site Package in my Django project but I am not sure how it should be done without applying directly to the local library.

有没有办法在 requires.txt 或git config中添加引用请求的方法?

Is there a way to add reference to the pull request in requirements.txt or git config?

推荐答案

您不应该修改已安装的软件包。

You shouldn't modify installed packages.

项目并将PR应用到您的分支,然后在fork上点要求.txt。

Fork the project and apply the PR to your fork, then point requirements.txt at the fork.

这篇关于使用Pip从Pull请求中修补Django站点包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆