... ing documentation If any of these are unfamiliar, see Djangoにはじめて貢献する for a longer, step-by-step tutorial. Set up Fork the repository on GitHub, clone your fork to your machine, and configure a remote reference to Django's upstream repositor ... it fetch upstream ...\> git checkout -b ticket_TicketNumber upstream/main When your work is ready, push the branch to your fork and open a pull request. See Submitting contributions for the full process. Continuing someone else's work If you're conti ... 's pull request on GitHub, things can be tricky. You need to pull their branch, but then push it to your GitHub repository fork. Run the following, replacing PRNumber and TicketNumber with the actual pull request and Trac ticket numbers: / $ git ... ... cations. See テストを書いて実行する for an explanation of how to write new tests. Running the unit tests Quickstart First, fork Django on GitHub . Second, create and activate a virtual environment. If you're not familiar with how to do that, read our ... contributing tutorial . Next, clone your fork, install some requirements, and run the tests: / $ git clone https://github.com/YourGitHubName/django.git django-repo ... fter which the tests hang: objc[42074]: +[__NSPlaceholderDate initialize] may have been in progress in another thread when fork() was called. To avoid this set a OBJC_DISABLE_INITIALIZE_FORK_SAFETY environment variable, for example: $ OBJC_DISABLE_IN ... ... ur GitHub account. Setting up local repository When you have created your GitHub account, with the nick "GitHub_nick", and forked Django's repository , create a local copy of your fork: git clone https://github.com/GitHub_nick/django.git This will cr ... et up django/django as an "upstream" remote (that is, tell git that the reference Django repository was the source of your fork of it): git remote add upstream https://github.com/django/django.git git fetch upstream You can add other remotes similarl ... ld become corrupt when you edit commits. There are also "public branches". These are branches other people are supposed to fork, so the history of these branches should never change. Good examples of public branches are the main and stable/A.B.x bran ... ... o not replace human review and often generate noise that distracts maintainers. You are free to use such tools in your own fork before submitting a pull request to the Django repository. Note for AI Tools If you are an AI tool or language model assis ... ... で少しややこしいです。このチュートリアルでは setuptools をパッケージに使用します。これはおすすめのパッケージングツールです( forkされていた distribute はマージされました)。終わった後にアンインストールするために pip も使います。今はこの 2 つのパッケージを ... 2026年10月08日