Patch Django Site Package From a Pull Request Usin

2019-09-15 16:49发布

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.

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

1条回答
Melony?
2楼-- · 2019-09-15 17:14

You shouldn't modify installed packages.

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

查看更多
登录 后发表回答