{"title":"Memperbaiki kode","version":"6.1","locale":"id","docname":"internals/contributing/committing-code","url":"/id/6.1/internals/contributing/committing-code/","canonical":"https://djangodocs.dev/id/6.1/internals/contributing/committing-code/","summary":"This section is addressed to the mergers and to anyone interested in knowing how code gets committed into Django.","html":"<h1>Memperbaiki kode<a class=\"heading-anchor\" href=\"#committing-code\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>This section is addressed to the mergers and to anyone interested in knowing\nhow code gets committed into Django. The <a class=\"reference internal\" href=\"#committing-guidelines\"><span class=\"std std-ref\">Panduan perbaikan</span></a> apply\nto all contributors, with or without commit rights.</p>\n<p>If you're a community member who wants to contribute code to Django, look at\n<a class=\"reference internal\" href=\"/id/6.1/internals/contributing/writing-code/working-with-git/\"><span class=\"doc\">Bekerja dengan Git dan GitHub</span></a> instead.</p>\n<section id=\"handling-pull-requests\">\n<span id=\"id1\"></span><h2>Penanganan pull request<a class=\"heading-anchor\" href=\"#handling-pull-requests\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Sejak Django disimpan pada GitHub, tambalan disediakan dalam formulir dari pull request.</p>\n<p>When committing a pull request, make sure each individual commit matches the\ncommit guidelines described below. Contributors are expected to provide the\nbest pull requests possible. In practice mergers - who will likely be more\nfamiliar with the commit guidelines - may decide to bring a commit up to\nstandard themselves.</p>\n<p>You may want to have Jenkins or GitHub actions test the pull request with one\nof the pull request builders that doesn't run automatically, such as Oracle or\nSelenium. See the <a class=\"reference external\" href=\"https://code.djangoproject.com/wiki/CI\">CI wiki page</a> for instructions.</p>\n<p>If you find yourself checking out pull requests locally more often, this git\nalias will be helpful:</p>\n<div class=\"code-block\" data-language=\"ini\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Ini</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Ini code\"><code><span class=\"k\">[alias]</span>\n    <span class=\"na\">pr</span> <span class=\"o\">=</span> <span class=\"s\">!sh -c \\&quot;git fetch upstream pull/${1}/head:pr/${1} &amp;&amp; git checkout pr/${1}\\&quot;</span>\n</code></pre></div>\n<p>Tambahkan ke <code class=\"docutils literal notranslate\">~/.gitconfig</code> anda, dan setel <code class=\"docutils literal notranslate\">upstream</code> menjadi <code class=\"docutils literal notranslate\">django/django</code>. Kemudian anda dapat menjalankan <code class=\"docutils literal notranslate\">git pr ####</code> untuk memeriksa pull request yang sama.</p>\n<p>Pada titik ini, anda dapat bekerja pada kode. Gunakan <code class=\"docutils literal notranslate\">git rebase -i</code> dan <code class=\"docutils literal notranslate\">git commit --amend</code> untuk memastikan perbaikan mempunyai tingkatan yang diharapkan dari kualitas. Sekali anda sedang siap:</p>\n<div class=\"console\" data-console><div class=\"console-panel\" data-platform=\"unix\"><p class=\"console-label\" id=\"console-0-unix-label\">Linux / macOS</p><div class=\"code-block\" data-language=\"console\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Shell</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Shell code\"><code><span class=\"gp\">$ </span><span class=\"c1\"># Pull in the latest changes from main.</span>\n<span class=\"gp\">$ </span>git checkout main\n<span class=\"gp\">$ </span>git pull upstream main\n<span class=\"gp\">$ </span><span class=\"c1\"># Rebase the pull request on main.</span>\n<span class=\"gp\">$ </span>git checkout pr/####\n<span class=\"gp\">$ </span>git rebase main\n<span class=\"gp\">$ </span>git checkout main\n<span class=\"gp\">$ </span><span class=\"c1\"># Merge the work as &quot;fast-forward&quot; to main to avoid a merge commit.</span>\n<span class=\"gp\">$ </span><span class=\"c1\"># (in practice, you can omit &quot;--ff-only&quot; since you just rebased)</span>\n<span class=\"gp\">$ </span>git merge --ff-only pr/XXXX\n<span class=\"gp\">$ </span><span class=\"c1\"># If you&#39;re not sure if you did things correctly, check that only the</span>\n<span class=\"gp\">$ </span><span class=\"c1\"># changes you expect will be pushed to upstream.</span>\n<span class=\"gp\">$ </span>git push --dry-run upstream main\n<span class=\"gp\">$ </span><span class=\"c1\"># Push!</span>\n<span class=\"gp\">$ </span>git push upstream main\n<span class=\"gp\">$ </span><span class=\"c1\"># Delete the pull request branch.</span>\n<span class=\"gp\">$ </span>git branch -d pr/xxxx\n</code></pre></div>\n</div><div class=\"console-panel\" data-platform=\"windows\"><p class=\"console-label\" id=\"console-0-windows-label\">Windows</p><div class=\"code-block\" data-language=\"doscon\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Windows</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Windows shell\"><code><span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM Pull in the latest changes from main.</span>\n<span class=\"gp\">...\\&gt;</span> git checkout main\n<span class=\"gp\">...\\&gt;</span> git pull upstream main\n<span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM Rebase the pull request on main.</span>\n<span class=\"gp\">...\\&gt;</span> git checkout pr/####\n<span class=\"gp\">...\\&gt;</span> git rebase main\n<span class=\"gp\">...\\&gt;</span> git checkout main\n<span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM Merge the work as &quot;fast-forward&quot; to main to avoid a merge commit.</span>\n<span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM (in practice, you can omit &quot;--ff-only&quot; since you just rebased)</span>\n<span class=\"gp\">...\\&gt;</span> git merge --ff-only pr/XXXX\n<span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM If you&#39;re not sure if you did things correctly, check that only the</span>\n<span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM changes you expect will be pushed to upstream.</span>\n<span class=\"gp\">...\\&gt;</span> git push --dry-run upstream main\n<span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM Push!</span>\n<span class=\"gp\">...\\&gt;</span> git push upstream main\n<span class=\"gp\">...\\&gt;</span> <span class=\"c1\">REM Delete the pull request branch.</span>\n<span class=\"gp\">...\\&gt;</span> git branch -d pr/xxxx\n</code></pre></div></div></div>\n<p>Force push to the branch after rebasing on main but before merging and pushing\nto upstream. This allows the commit hashes on main and the branch to match\nwhich automatically closes the pull request.</p>\n<p>Jika sebuah pull request tidak butuh digabungkan seperti banyak perbaikan, anda dapat menggunakan tombol &quot;Squash and merge&quot; GitHub. Sunting pesan perbaikan sesuai kebutuhan untuk menyesuaikan ke <a class=\"reference internal\" href=\"#committing-guidelines\"><span class=\"std std-ref\">the guidelines</span></a> dan pindahkan angka pull request yang otomatis ditambahkan ke baris pertama pesan.</p>\n<p>Ketika menulis kembali riwayat perbaikan dari pull request, tujuannya adalah membuat riwayat perbaikan django sebaik mungkin:</p>\n<ul class=\"simple\">\n<li><p>Jika tambalan mengandung perbaikan bolak balik, lalu tulis kembali itu menjadi satu. Sebagai contoh, jika sebuah perbaikan menambahkan beberapa kode dan perbaikan kedua memperbaiki masalah gaya yang diperkenalkan di perbaikan pertama, perbaikan tersebut harus dilumat sebelum digabungkan.</p></li>\n<li><p>Perubahan terpisah pada perbaikan berbeda berdasarkan pengelompokan logika: jika anda melakukan pembersihan gaya pada saat bersamaan seperti anda melakukan perubahan lain pada berkas, memisahkan perubahan kedalam dua perbaikan berbeda akan membuat meninjauan riwayat lebih mudah.</p></li>\n<li><p>Waspada dari menggabungkan cabang upstream dalam pull request.</p></li>\n<li><p>Percobaan harus dilewati dan dokumen harus dibangun setelah setiap perbaikan. Juga tidak percobaan maupun dokumen harus mengeluarkan peringatan.</p></li>\n<li><p>Tambalan sepele dan kecil biasanya baik diselesaikan dalam satu perbaikan. Pekerjaan menengah sampai besar mungkin dipisah menjadi banyak perbaikan jika itu masuk akal.</p></li>\n</ul>\n<p>Practicality beats purity, so it is up to each merger to decide how much\nhistory mangling to do for a pull request. The main points are engaging the\ncommunity, getting work done, and having a usable commit history.</p>\n</section>\n<section id=\"committing-guidelines\">\n<span id=\"id2\"></span><h2>Panduan perbaikan<a class=\"heading-anchor\" href=\"#committing-guidelines\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>These guidelines apply to all commits to Django's Git repository, whether\nsubmitted by a contributor via a pull request or landed directly by a merger:</p>\n<ul>\n<li><p>Jangan pernah merubah riwayat telah diterbitkan dari cabang <code class=\"docutils literal notranslate\">django/django</code> dengan mendorong paksa. Jika anda mutlak harus (untuk alasan keamanan sebagai contoh), pertama obrolkan keadaan dengan tim.</p></li>\n<li><p>For any medium-to-big changes, where &quot;medium-to-big&quot; is according to\nyour judgment, please bring things up on the <a class=\"reference external\" href=\"https://forum.djangoproject.com/\">Django Forum</a> before making\nthe change.</p>\n<p>If you bring something up and nobody responds, please don't take that\nto mean your idea is great and should be implemented immediately because\nnobody contested it. Everyone doesn't always have a lot of time to read\ndiscussions immediately, so you may have to wait a couple of days before\ngetting a response.</p>\n</li>\n<li><p>Write detailed commit messages in the past tense, not present tense, and\nend the subject line with a period.</p>\n<ul class=\"simple\">\n<li><p>Correct: &quot;Fixed Unicode bug in RSS API.&quot;</p></li>\n<li><p>Incorrect: &quot;Fixes Unicode bug in RSS API.&quot; (present tense)</p></li>\n<li><p>Incorrect: &quot;Fixing Unicode bug in RSS API.&quot; (&quot;-ing&quot; form)</p></li>\n<li><p>Incorrect: &quot;Fixed Unicode bug in RSS API&quot; (missing trailing period)</p></li>\n</ul>\n<p>The commit message should be in lines of 72 chars maximum. There should be\na subject line, separated by a blank line and then paragraphs of 72 char\nlines. The limits are soft. For the subject line, shorter is better.</p>\n<p>In the body of the commit message more detail is better than less, and should\nexplain <em>why</em> the change was made, not <em>what</em> was changed or <em>how</em>. The code\nitself shows what changed; the commit message should provide the context and\nreasoning that the code cannot.</p>\n<p>Credit the contributors in the commit message: &quot;Thanks A for the report and B\nfor review.&quot; Use git's <a class=\"reference external\" href=\"https://docs.github.com/en/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors\">Co-Authored-By</a> as appropriate, including anyone\nwhose earlier work the change builds on.</p>\n<p>Sebagai contoh:</p>\n<div class=\"code-block\" data-language=\"none\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">None</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"None code\"><code>Fixed #18307 -- Added git workflow guidelines.\n\nRefactored the Django&#39;s documentation to remove mentions of SVN\nspecific tasks. Added guidelines of how to use Git, GitHub, and\nhow to use pull request together with Trac instead.\n\nThanks to Full Name for the report, and to Reviewer for reviews.\n</code></pre></div>\n</li>\n<li><p>Batasi perbaikan ke perubahan paling kecil sangat masuk akal. Ini berarti, gunakan sering perbaikan kecil daripada perbaikan besar yang jarang. Sebagai contoh, jika menerapkan fitur X membutuhkan perubahan kecil pada pustaka Y, pertama perbaiki perubahan pada pustaka Y, kemudian perbaiki fitur X di perbaikan berbeda. Ini berjalan <em>jauh</em> dalam membantu semua orang mengikuti perubahan anda.</p></li>\n<li><p>Separate bug fixes from feature changes. Bugfixes may need to be\n<a class=\"reference internal\" href=\"#backports\"><span class=\"std std-ref\">backported</span></a>.</p></li>\n<li><p>Jika perbaikan anda menutup sebuah tiket di <a class=\"reference external\" href=\"https://code.djangoproject.com/\">ticket tracker</a> Django, mulai pesan perbaikan anda dengan teks &quot;Fixed #xxxxx&quot;, dimana &quot;xxxxx&quot; adalah jumlah dari tiket perbaikan pembetulan. Contoh: &quot;Fixed #123 -- Ditambahkan fitur ulung.&quot;. kami telah memperlengkapi Trac sehingga pesan perbaikan apapun di bentuk tersebut akan otomatis menutup acuan tiket dan penempatan komentar kepadanya dengan pesan perbaikan penuh.</p>\n<p>Untuk ingin tahu, kami menggunakan <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Tambahan Trac <a href=\"#id3\"><span class=\"problematic\" id=\"id4\">`</span></a>_ untuk ini.</p>\n</li>\n</ul>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">Catatan</p>\n<p>Note that the Trac integration doesn't know anything about pull requests.\nSo if you try to close a pull request with the phrase &quot;closes #400&quot; in your\ncommit message, GitHub will close the pull request, but the Trac plugin\nwill not close the same numbered ticket in Trac.</p>\n</aside>\n<ul class=\"simple\">\n<li><p>Jika acuan perbaikan anda sebuah tiket di <a class=\"reference external\" href=\"https://code.djangoproject.com/\">ticket tracker</a> Django tetapi <em>tidak</em> menutup tiket, termasuk frase &quot;Refs #xxxxx&quot;, dimana &quot;xxxxx&quot; adalah nomor dari tiket acuan perbaikan anda. Ini akan otomatis menempatkan komentar pada tiket yang sesuai.</p></li>\n</ul>\n</section>\n<section id=\"backports\">\n<span id=\"id3\"></span><h2>Backports<a class=\"heading-anchor\" href=\"#backports\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Bug fix backports to stable branches are done exclusively by mergers, following\nthe <a class=\"reference internal\" href=\"/id/6.1/internals/release-process/#supported-versions-policy\"><span class=\"std std-ref\">Versi didukung</span></a>. A backport consists of cherry-picking a\ncommit from <code class=\"docutils literal notranslate\">main</code> onto the target <code class=\"docutils literal notranslate\">stable/A.B.x</code> branch.</p>\n<p>A backport commit must include two things beyond the original commit message:</p>\n<ul class=\"simple\">\n<li><p>A prefix <code class=\"docutils literal notranslate\">[A.B.x]</code> on the subject line, where <code class=\"docutils literal notranslate\">A.B.x</code> is the name of the\n<code class=\"docutils literal notranslate\">stable/A.B.x</code> branch being targeted.</p></li>\n<li><p>A suffix <code class=\"docutils literal notranslate\">Backport of &lt;sha&gt; from main.</code> line in the commit body, pointing\nto the original commit hash.</p></li>\n</ul>\n<p>Sebagai contoh:</p>\n<div class=\"code-block\" data-language=\"none\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">None</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"None code\"><code>[1.3.x] Fixed #17028 -- Changed diveintopython.org -&gt; diveintopython.net.\n\nBackport of 80c0cbf1c97047daed2c5b41b296bbc56fe1d7e3 from main.\n</code></pre></div>\n<p>If the backport also fixes a regression, add a line identifying the commit that\nintroduced it:</p>\n<div class=\"code-block\" data-language=\"none\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">None</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"None code\"><code>Regression in 6ecccad711b52f9273b1acb07a57d3f806e93928.\n</code></pre></div>\n<p>There are three ways to do a backport, depending on your workflow:</p>\n<p><strong>Option 1: fully manual</strong></p>\n<p>Cherry-pick the commit onto the stable branch, then amend the commit message to\nadd the required prefix and backport note:</p>\n<div class=\"code-block\" data-language=\"shell\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Shell</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Shell code\"><code>git cherry-pick &lt;sha&gt;\ngit commit --amend\n</code></pre></div>\n<p>If the cherry-pick produces conflicts, resolve them, stage the changes, then\nrun <code class=\"docutils literal notranslate\">git cherry-pick --continue</code> before amending. This option requires no\nsetup but relies entirely on remembering to format the message correctly.</p>\n<p><strong>Option 2: using the helper script in the repo</strong></p>\n<p>The <code class=\"docutils literal notranslate\">scripts/backport.sh</code> Bash script automates the cherry-pick and rewrites\nthe commit message with the correct prefix and backport note. Run it from the\ntarget stable branch:</p>\n<div class=\"code-block\" data-language=\"shell\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Shell</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Shell code\"><code>bash scripts/backport.sh &lt;sha&gt;\n</code></pre></div>\n<p>This is straightforward for clean cherry-picks, but if conflicts are produced,\nyou will need to resolve them manually and add the prefix and backport note to\nthe commit message yourself.</p>\n<p><strong>Option 3: using the</strong> <code class=\"docutils literal notranslate\">prepare-commit-msg</code> <strong>git hook</strong></p>\n<p>The <code class=\"docutils literal notranslate\">scripts/prepare_commit_msg.py</code> Python script can be installed as a\n<code class=\"docutils literal notranslate\">prepare-commit-msg</code> git hook. It automatically adds the <code class=\"docutils literal notranslate\">[A.B.x]</code> prefix\nto the subject line, appends <code class=\"docutils literal notranslate\">Backport of &lt;sha&gt; from main.</code> to the commit\nbody, and ensures the subject line ends with a period, even when the\ncherry-pick produces conflicts. To install it, create an executable file\n<code class=\"docutils literal notranslate\">.git/hooks/prepare-commit-msg</code> containing:</p>\n<div class=\"code-block\" data-language=\"sh\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Sh</span><button type=\"button\" class=\"copy-button\" data-copy hidden><span class=\"copy-button-label\">Copy</span></button></div><pre role=\"group\" tabindex=\"0\" aria-label=\"Sh code\"><code><span class=\"ch\">#!/bin/sh</span>\n<span class=\"nb\">exec</span> python scripts/prepare_commit_msg.py <span class=\"s2\">&quot;</span><span class=\"nv\">$@</span><span class=\"s2\">&quot;</span>\n</code></pre></div>\n<p>Once installed, a plain <code class=\"docutils literal notranslate\">git cherry-pick &lt;sha&gt;</code> on a stable branch is\nsufficient; the hook handles the message formatting in all cases.</p>\n</section>\n<section id=\"reverting-commits\">\n<h2>Mengembalikan perbaikan<a class=\"heading-anchor\" href=\"#reverting-commits\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Tidak seorangpun sempurna; kesalahan akan diperbaiki.</p>\n<p>But try very hard to ensure that mistakes don't happen. Just because we have a\nreversion policy doesn't relax your responsibility to aim for the highest\nquality possible. Really: double-check your work, or have it checked by\nanother merger <strong>before</strong> you commit it in the first place!</p>\n<p>Ketika kesalahan perbaikan ditemukan, silahkan ikuti panduan ini:</p>\n<ul class=\"simple\">\n<li><p>Jika memungkinkan, penulis asli mengembalikan perbaikan mereka sendiri.</p></li>\n<li><p>Jangan mengembalikan perubahan penulis lain tanpa perizinan dari penulis asli.</p></li>\n<li><p>Gunakan git revert -- ini akan membuat membalikkan perbaikan, tetapi perbaikan asli akan masih menjadi bagian dari riwayat perbaikan.</p></li>\n<li><p>If the original author can't be reached (within a reasonable amount\nof time -- a day or so) and the problem is severe -- crashing bug,\nmajor test failures, etc. -- then ask for objections on the <a class=\"reference external\" href=\"https://forum.djangoproject.com/\">Django Forum</a>\nthen revert if there are none.</p></li>\n<li><p>Jika masalah adalah kecil (perbaikan fitur setelah pembekuan fitur, katakan), tunggu saja.</p></li>\n<li><p>If there's a disagreement between the merger and the reverter-to-be then try\nto work it out on the <a class=\"reference external\" href=\"https://forum.djangoproject.com/\">Django Forum</a> . If an agreement can't be reached then\nit should be put to a vote.</p></li>\n<li><p>Jika perbaikan diperkenalkan ditegaskan,  ungkap kerentanan keamanan kemudian perbaikan mungkin dirubah sesegera mungkin tanpa perizinan dari siapapun.</p></li>\n<li><p>Perawat cabang terbitan mungkin mengeluarkan perbaikan ke cabang terbitan tanpa perizinan jika perbaikan merusak cabang terbitan.</p></li>\n<li><p>Jika anda salah mendorong sebuah cabang topik ke <code class=\"docutils literal notranslate\">django/django</code>, hapus itu. Sebagai contoh, jika anda melakukan <code class=\"docutils literal notranslate\">git push upstream feature_antigravity</code>, lakukan dorongan balikan: <code class=\"docutils literal notranslate\">git push upstream :feature_antigravity</code>.</p></li>\n</ul>\n</section>","rootId":"committing-code","toc":[{"title":"Penanganan pull request","anchor":"handling-pull-requests","children":[]},{"title":"Panduan perbaikan","anchor":"committing-guidelines","children":[]},{"title":"Backports","anchor":"backports","children":[]},{"title":"Mengembalikan perbaikan","anchor":"reverting-commits","children":[]}],"breadcrumbs":[{"docname":"internals/index","title":"Dalam Django","url":"/id/6.1/internals/"},{"docname":"internals/contributing/index","title":"Membantu untuk Django","url":"/id/6.1/internals/contributing/"},{"docname":"internals/contributing/writing-code/index","title":"Kode bantuan","url":"/id/6.1/internals/contributing/writing-code/"}],"prev":{"docname":"internals/contributing/accessibility","title":"Aksesibilitas","url":"/id/6.1/internals/contributing/accessibility/"},"next":{"docname":"internals/contributing/writing-documentation","title":"Menulis dokumentasi","url":"/id/6.1/internals/contributing/writing-documentation/"},"formats":{"html":"/id/6.1/internals/contributing/committing-code/","markdown":"/id/6.1/internals/contributing/committing-code.md","json":"/id/6.1/internals/contributing/committing-code.json"},"source":"https://github.com/django/django/blob/stable/6.1.x/docs/internals/contributing/committing-code.txt","official":"https://docs.djangoproject.com/id/6.1/internals/contributing/committing-code/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2","4.1","4.0","3.2","3.1","3.0","2.2","2.1","2.0","1.11","1.10","1.9"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}