{"title":"Submitting contributions","version":"5.2","locale":"ko","docname":"internals/contributing/writing-code/submitting-patches","url":"/ko/5.2/internals/contributing/writing-code/submitting-patches/","canonical":"https://djangodocs.dev/ko/5.2/internals/contributing/writing-code/submitting-patches/","summary":"We’re always grateful for contributions to Django’s code. Indeed, bug reports with associated contributions will get fixed far more quickly than those…","html":"<h1>Submitting contributions<a class=\"heading-anchor\" href=\"#submitting-contributions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>We’re always grateful for contributions to Django’s code. Indeed, bug reports\nwith associated contributions will get fixed <em>far</em> more quickly than those\nwithout a solution.</p>\n<section id=\"typo-fixes-and-trivial-documentation-changes\">\n<span id=\"trivial-change\"></span><h2>오타 수정 및 사소한 문서 변경 사항입니다.<a class=\"heading-anchor\" href=\"#typo-fixes-and-trivial-documentation-changes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>설명서에서 단어를 변경하는 등 매우 사소한 문제를 수정하는 경우 패치를 제공하는 기본 방법은 Trac 티켓 없이 GitHub 풀 요청을 사용하는 것입니다.</p>\n<p>pull 요청을 사용하는 방법에 대한 자세한 내용은 :doc:’working-with-git’을 참조하십시오.</p>\n</section>\n<section id=\"claiming-tickets\">\n<h2>티켓을 “청구하기”<a class=\"heading-anchor\" href=\"#claiming-tickets\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>전 세계에 수백 명의 기여자가 있는 오픈소스 프로젝트에서는 작업이 중복되지 않고 기여자가 최대한 효과적으로 작업할 수 있도록 커뮤니케이션을 효율적으로 관리하는 것이 중요합니다.</p>\n<p>따라서 우리의 정책은 특정 버그나 기능이 작업 중임을 다른 개발자에게 알리기 위해 티켓을 “청구”하는 기여자를 위한 것입니다.</p>\n<p>원하는 기여가 확인되었고 이를 수정할 수 있는 능력이 있는 경우(코딩 능력, Django 내부 지식 및 시간 가용성으로 측정됨) 다음 단계를 수행하여 해당 기여를 청구합니다.</p>\n<ul class=\"simple\">\n<li><p>저희 티켓 시스템에서 “GitHub account” 또는 “create account”를 사용하여 로그인하십시오. 계정이 있지만 암호를 잊어버린 경우 ‘비밀번호 재설정 페이지’를 사용하여 재설정할 수 있습니다.</p></li>\n<li><p>If a ticket for this issue doesn’t exist yet, create one in our\n<a class=\"reference external\" href=\"https://code.djangoproject.com/\">ticket tracker</a>. Remember that proposals for new features should follow\nthe <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/bugs-and-features/#requesting-features\"><span class=\"std std-ref\">process for suggesting new features</span></a>.</p></li>\n<li><p>이 문제에 대한 티켓이 이미 있는 경우 다른 사람이 해당 티켓을 청구하지 않았는지 확인하십시오. 이렇게 하려면 티켓의 “소유자” 섹션을 참조하십시오. “아무도”에게 할당된 경우 청구할 수 있습니다. 그렇지 않으면 다른 사람이 이 티켓을 작업하고 있을 수 있습니다. 작업할 다른 버그/기능을 찾거나 티켓 관련 개발자에게 문의하여 도움을 요청하십시오. 몇 주 또는 몇 달 동안 아무런 작업 없이 티켓이 할당된 경우 자신에게 티켓을 다시 할당하는 것이 안전할 수 있습니다.</p></li>\n<li><p>Log into your account, if you haven’t already, by clicking “GitHub Login”\nor “DjangoProject Login” in the upper left of the ticket page. Once logged\nin, you can then click the “Modify Ticket” button near the bottom of the\npage.</p></li>\n<li><p>Claim the ticket by clicking the “assign to” radio button in the “Action”\nsection. Your username will be filled in the text box by default.</p></li>\n<li><p>Finally click the “Submit changes” button at the bottom to save.</p></li>\n</ul>\n<aside class=\"admonition admonition-note\" role=\"note\">\n<p class=\"admonition-title\">참고</p>\n<p>The Django software foundation requests that anyone contributing more than\na <a class=\"reference internal\" href=\"#trivial-change\"><span class=\"std std-ref\">trivial change</span></a>, to Django sign and submit a\n<a class=\"reference external\" href=\"https://www.djangoproject.com/foundation/cla/\">Contributor License Agreement</a>, this ensures that the Django Software\nFoundation has clear license to all contributions allowing for a clear\nlicense for all users.</p>\n</aside>\n<section id=\"ticket-claimers-responsibility\">\n<h3>티켓 청구인의 책임입니다.<a class=\"heading-anchor\" href=\"#ticket-claimers-responsibility\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>티켓을 수령한 후에는 적시에 해당 티켓을 처리해야 할 책임이 있습니다. 만약 여러분이 그것을 할 시간이 없다면, 그것을 청구하지 않거나, 애초에 청구하지 마세요!</p>\n<p>If there’s no sign of progress on a particular claimed ticket for a week or\ntwo, another developer may ask you to relinquish the ticket claim so that it’s\nno longer monopolized and somebody else can claim it.</p>\n<p>티켓을 수령했는데 코딩하는 데 오랜 시간(일 또는 몇 주)이 걸리는 경우 티켓에 댓글을 달아 모든 사용자를 최신 상태로 유지하십시오. 정기적인 업데이트를 제공하지 않고 진행 상황 보고서 요청에 응답하지 않으면 티켓에 대한 청구가 취소될 수 있습니다.</p>\n<p>항상 그렇듯이, 더 많은 의사소통이 덜 소통하는 것보다 더 낫습니다!</p>\n</section>\n<section id=\"which-tickets-should-be-claimed\">\n<h3>어떤 표를 구해야 합니까?<a class=\"heading-anchor\" href=\"#which-tickets-should-be-claimed\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>어떤 경우에는 티켓을 청구하는 단계를 거치는 것이 지나치기도 합니다.</p>\n<p>In the case of small changes, such as typos in the documentation or small bugs\nthat will only take a few minutes to fix, you don’t need to jump through the\nhoops of claiming tickets. Submit your changes directly and you’re done!</p>\n<p>It is <em>always</em> acceptable, regardless whether someone has claimed it or not, to\nlink proposals to a ticket if you happen to have the changes ready.</p>\n</section>\n</section>\n<section id=\"contribution-style\">\n<span id=\"patch-style\"></span><h2>Contribution style<a class=\"heading-anchor\" href=\"#contribution-style\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>최소한 다음 요구 사항을 충족하는 기여가 있는지 확인하십시오.</p>\n<ul class=\"simple\">\n<li><p>The code required to fix a problem or add a feature is an essential part\nof a solution, but it is not the only part. A good fix should also include a\n<a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/writing-code/unit-tests/\"><span class=\"doc\">regression test</span></a> to validate the behavior that has been\nfixed and to prevent the problem from arising again. Also, if some tickets\nare relevant to the code that you’ve written, mention the ticket numbers in\nsome comments in the test so that one can easily trace back the relevant\ndiscussions after your patch gets committed, and the tickets get closed.</p></li>\n<li><p>If the code adds a new feature, or modifies the behavior of an existing\nfeature, the change should also contain documentation.</p></li>\n</ul>\n<p>When you think your work is ready to be reviewed, send <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/writing-code/working-with-git/\"><span class=\"doc\">a GitHub pull\nrequest</span></a>.\nIf you can’t send a pull request for some reason, you can also use patches in\nTrac. When using this style, follow these guidelines.</p>\n<ul class=\"simple\">\n<li><p>“git diff” 명령으로 반환된 형식으로 패치를 제출합니다.</p></li>\n<li><p>“첨부 파일” 버튼을 사용하여 “티켓 트래커”의 티켓에 패치를 첨부합니다. 한 줄 패치가 아닌 경우 티켓 설명이나 코멘트에 패치를 넣지 <em>마십시오</em>.</p></li>\n<li><p>패치 파일의 이름을 “.diff” 확장자로 지정합니다. 이렇게 하면 티켓 추적기가 올바른 구문 강조 표시를 적용할 수 있으므로 매우 유용합니다.</p></li>\n</ul>\n<p>작업 제출 방법과 상관없이 다음 단계를 따르십시오.</p>\n<ul class=\"simple\">\n<li><p>Make sure your code fulfills the requirements in our <a class=\"reference internal\" href=\"#patch-review-checklist\"><span class=\"std std-ref\">contribution\nchecklist</span></a>.</p></li>\n<li><p>티켓의 “패치 있음” 상자를 선택하고 “문서 필요”, “테스트 필요” 및 “패치 개선 필요” 상자를 선택하지 않았는지 확인합니다. 이렇게 하면 티켓이 “개발 대시보드”의 “검토가 필요한 패치” 대기열에 나타납니다.</p></li>\n</ul>\n</section>\n<section id=\"contributions-which-require-community-feedback\">\n<h2>Contributions which require community feedback<a class=\"heading-anchor\" href=\"#contributions-which-require-community-feedback\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>A wider community discussion is required when a patch introduces new Django\nfunctionality and makes some sort of design decision. This is especially\nimportant if the approach involves a <a class=\"reference internal\" href=\"#deprecating-a-feature\"><span class=\"std std-ref\">deprecation</span></a>\nor introduces breaking changes.</p>\n<p>The following are different approaches for gaining feedback from the community.</p>\n<section id=\"the-new-feature-ideas-tracker\">\n<h3>The new feature ideas tracker<a class=\"heading-anchor\" href=\"#the-new-feature-ideas-tracker\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>If you have an idea for a new feature, please create a new proposal (or join an\nexisting discussion) following the <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/bugs-and-features/#requesting-features\"><span class=\"std std-ref\">process for suggesting new features</span></a>. You should explain the need for the change, go into\ndetails of the approach and discuss alternatives.</p>\n</section>\n<section id=\"the-django-forum\">\n<h3>The Django Forum<a class=\"heading-anchor\" href=\"#the-django-forum\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>You can propose a change (that is not a new feature idea) on the\n<a class=\"reference external\" href=\"https://forum.djangoproject.com/\">Django Forum</a>. You should explain the need for the change, go into details of\nthe approach and discuss alternatives.</p>\n<p>Please include a link to such discussions in your contributions.</p>\n</section>\n<section id=\"third-party-package\">\n<h3>Third party package<a class=\"heading-anchor\" href=\"#third-party-package\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Django does not accept experimental features. All features must follow our\n<a class=\"reference internal\" href=\"/ko/5.2/internals/release-process/#internal-release-deprecation-policy\"><span class=\"std std-ref\">deprecation policy</span></a>. Hence, it can\ntake months or years for Django to iterate on an API design.</p>\n<p>If you need user feedback on a public interface, it is better to create a\nthird-party package first. You can iterate on the public API much faster, while\nalso validating the need for the feature.</p>\n<p>Once this package becomes stable and there are clear benefits of incorporating\naspects into Django core, the next step is to propose its inclusion by\nfollowing the <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/bugs-and-features/#requesting-features\"><span class=\"std std-ref\">process for suggesting new features</span></a>.</p>\n</section>\n<section id=\"django-enhancement-proposal-dep\">\n<h3>Django Enhancement Proposal (DEP)<a class=\"heading-anchor\" href=\"#django-enhancement-proposal-dep\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>Similar to Python’s PEPs, Django has <a class=\"reference external\" href=\"https://github.com/django/deps\">Django Enhancement Proposals</a> or DEPs. A\nDEP is a design document which provides information to the Django community, or\ndescribes a new feature or process for Django. They provide concise technical\nspecifications of features, along with rationales. DEPs are also the primary\nmechanism for proposing and collecting community input on major new features.</p>\n<p>Before considering writing a DEP, it is recommended to first open a discussion\nfollowing the <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/bugs-and-features/#requesting-features\"><span class=\"std std-ref\">process for suggesting new features</span></a>.\nThis allows the community to provide feedback and helps refine the proposal.\nOnce the DEP is ready the <a class=\"reference internal\" href=\"/ko/5.2/internals/organization/#steering-council\"><span class=\"std std-ref\">Steering Council</span></a> votes on\nwhether to accept it.</p>\n<p>Some examples of DEPs that have been approved and fully implemented:</p>\n<ul class=\"simple\">\n<li><p><a class=\"reference external\" href=\"https://github.com/django/deps/blob/main/final/0181-orm-expressions.rst\">DEP 181: ORM Expressions</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://github.com/django/deps/blob/main/final/0182-multiple-template-engines.rst\">DEP 182: Multiple Template Engines</a></p></li>\n<li><p><a class=\"reference external\" href=\"https://github.com/django/deps/blob/main/final/0201-simplified-routing-syntax.rst\">DEP 201: Simplified routing syntax</a></p></li>\n</ul>\n</section>\n</section>\n<section id=\"deprecating-a-feature\">\n<span id=\"id1\"></span><h2>기능을 사용<a class=\"heading-anchor\" href=\"#deprecating-a-feature\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Django의 코드가 더 이상 사용되지 않는 몇 가지 이유가 있습니다.</p>\n<ul class=\"simple\">\n<li><p>기능이 이전 버전과 호환되지 않는 방식으로 개선되거나 수정된 경우 이전 기능 또는 동작은 더 이상 사용되지 않습니다.</p></li>\n<li><p>때때로 Django는 Django가 현재 지원하는 Python 버전에 포함되지 않은 Python 라이브러리의 백포트를 포함할 수 있습니다. Django가 라이브러리를 포함하지 않는 이전 버전의 Python을 더 이상 지원할 필요가 없으면 Django에서 라이브러리가 사용되지 않습니다.</p></li>\n</ul>\n<p>:ref:’감가상각 정책’에서 설명한 것처럼 기능을 사용하지 않는 Django의 첫 번째 릴리스(‘’A’)입니다.B’’)는 사용되지 않는 기능이 호출될 때 “제거된 장고 XX 경고”(여기서 XX는 기능이 제거될 장고 버전)를 발생시켜야 합니다. 테스트 범위가 양호하다고 가정하면, 경고가 활성화된 상태에서 :ref:’test Suite’를 실행하면 이러한 경고가 오류로 변환됩니다. ‘’’와 - 와 runtests.py’’’’입니다. 따라서 “RemovedInDjangoXXWarning”을 추가할 때 테스트를 실행할 때 발생하는 경고를 제거하거나 침묵시켜야 합니다.</p>\n<p>첫 번째 단계는 Django가 사용하지 않는 동작의 사용을 제거하는 것입니다. 그런 다음 테스트 또는 클래스 수준에서 “ignore_warnings” 데코레이터를 사용하여 권장되지 않는 동작을 실제로 테스트하는 테스트에서 경고를 음소거할 수 있습니다.</p>\n<ol class=\"arabic\">\n<li><p>특정 테스트의 경우:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</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=\"Code code\"><code><span class=\"kn\">from</span> <span class=\"nn\">django.test</span> <span class=\"kn\">import</span> ignore_warnings\n<span class=\"kn\">from</span> <span class=\"nn\">django.utils.deprecation</span> <span class=\"kn\">import</span> RemovedInDjangoXXWarning\n\n\n<span class=\"nd\">@ignore_warnings</span><span class=\"p\">(</span>category<span class=\"o\">=</span>RemovedInDjangoXXWarning<span class=\"p\">)</span>\n<span class=\"k\">def</span> <span class=\"nf\">test_foo</span><span class=\"p\">(</span><span class=\"bp\">self</span><span class=\"p\">):</span> <span class=\"o\">...</span>\n</code></pre></div>\n</li>\n<li><p>전체 테스트 사례의 경우:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</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=\"Code code\"><code><span class=\"kn\">from</span> <span class=\"nn\">django.test</span> <span class=\"kn\">import</span> ignore_warnings\n<span class=\"kn\">from</span> <span class=\"nn\">django.utils.deprecation</span> <span class=\"kn\">import</span> RemovedInDjangoXXWarning\n\n\n<span class=\"nd\">@ignore_warnings</span><span class=\"p\">(</span>category<span class=\"o\">=</span>RemovedInDjangoXXWarning<span class=\"p\">)</span>\n<span class=\"k\">class</span> <span class=\"nc\">MyDeprecatedTests</span><span class=\"p\">(</span>unittest<span class=\"o\">.</span>TestCase<span class=\"p\">):</span> <span class=\"o\">...</span>\n</code></pre></div>\n</li>\n</ol>\n<p>You should also add a test for the deprecation warning:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</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=\"Code code\"><code><span class=\"kn\">from</span> <span class=\"nn\">django.utils.deprecation</span> <span class=\"kn\">import</span> RemovedInDjangoXXWarning\n\n\n<span class=\"k\">def</span> <span class=\"nf\">test_foo_deprecation_warning</span><span class=\"p\">(</span><span class=\"bp\">self</span><span class=\"p\">):</span>\n    msg <span class=\"o\">=</span> <span class=\"s2\">&quot;Expected deprecation message&quot;</span>\n    <span class=\"k\">with</span> <span class=\"bp\">self</span><span class=\"o\">.</span>assertWarnsMessage<span class=\"p\">(</span>RemovedInDjangoXXWarning<span class=\"p\">,</span> msg<span class=\"p\">)</span> <span class=\"k\">as</span> ctx<span class=\"p\">:</span>\n        <span class=\"c1\"># invoke deprecated behavior</span>\n        <span class=\"o\">...</span>\n    <span class=\"bp\">self</span><span class=\"o\">.</span>assertEqual<span class=\"p\">(</span>ctx<span class=\"o\">.</span>filename<span class=\"p\">,</span> <span class=\"vm\">__file__</span><span class=\"p\">)</span>\n</code></pre></div>\n<p>It’s important to include a <code class=\"docutils literal notranslate\">RemovedInDjangoXXWarning</code> comment above code\nwhich has no warning reference, but will need to be changed or removed when the\ndeprecation ends. This could include hooks which have been added to keep the\nprevious behavior, or standalone items that are unnecessary or unused when the\ndeprecation ends. For example:</p>\n<div class=\"code-block\" data-language=\"default\"><div class=\"code-block-toolbar\"><span class=\"code-block-language\">Code</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=\"Code code\"><code><span class=\"kn\">import</span> <span class=\"nn\">warnings</span>\n<span class=\"kn\">from</span> <span class=\"nn\">django.utils.deprecation</span> <span class=\"kn\">import</span> RemovedInDjangoXXWarning\n\n\n<span class=\"c1\"># RemovedInDjangoXXWarning.</span>\n<span class=\"k\">def</span> <span class=\"nf\">old_private_helper</span><span class=\"p\">():</span>\n    <span class=\"c1\"># Helper function that is only used in foo().</span>\n    <span class=\"k\">pass</span>\n\n\n<span class=\"k\">def</span> <span class=\"nf\">foo</span><span class=\"p\">():</span>\n    warnings<span class=\"o\">.</span>warn<span class=\"p\">(</span>\n        <span class=\"s2\">&quot;foo() is deprecated.&quot;</span><span class=\"p\">,</span>\n        category<span class=\"o\">=</span>RemovedInDjangoXXWarning<span class=\"p\">,</span>\n        stacklevel<span class=\"o\">=</span><span class=\"mi\">2</span><span class=\"p\">,</span>\n    <span class=\"p\">)</span>\n    old_private_helper<span class=\"p\">()</span>\n    <span class=\"o\">...</span>\n</code></pre></div>\n<p>마지막으로 Django의 문서에는 다음과 같은 몇 가지 업데이트가 있습니다.</p>\n<ol class=\"arabic simple\">\n<li><p>기존 기능이 문서화된 경우 ‘’를 사용하여 문서에서 사용되지 않는 것으로 표시합니다. 사용되지 않음: A입니다.B’ 주석입니다. 해당되는 경우 간단한 설명과 업그레이드 경로에 대한 참고 사항을 포함합니다.</p></li>\n<li><p>권장되지 않는 동작에 대한 설명과 적용 가능한 업그레이드 경로가 있다면 현재 릴리스 정보(‘’docs/releases/A’.B.txt”)를 “A.B에서 사용되지 않는 기능입니다” 헤드에 추가합니다.</p></li>\n<li><p>제거될 코드를 설명하는 항목을 해당 버전의 사용 중지 타임라인(<code class=\"docutils literal notranslate\">docs/internals/deprecation.txt</code>)에 추가합니다.</p></li>\n</ol>\n<p>이 단계를 완료하면 더 이상 사용되지 않습니다. 각 :term:’feature release’에서 새 버전과 일치하는 모든 “RemovedInDjangoXXWarning”s가 제거된다.</p>\n</section>\n<section id=\"testing-with-a-django-project\">\n<h2>Testing with a Django project<a class=\"heading-anchor\" href=\"#testing-with-a-django-project\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>It’s important to test local changes using a Django project. This allows\nensuring that the changes behave as expected in a real environment, especially\nfor user-facing features such as templates, forms, or the admin.</p>\n<p>To do this:</p>\n<ol class=\"arabic simple\">\n<li><p>Create a virtual environment and <a class=\"reference internal\" href=\"/ko/5.2/intro/contributing/#intro-contributing-install-local-copy\"><span class=\"std std-ref\">install the cloned copy of Django in\neditable mode</span></a>.</p></li>\n<li><p>Set up a Django project outside the source tree (you can use the <a class=\"reference internal\" href=\"/ko/5.2/intro/tutorial01/\"><span class=\"doc\">first\npart of the tutorial</span></a> for guidance).</p></li>\n</ol>\n<p>With this setup, any changes made to the Django checkout will take effect\nimmediately in the test project, allowing manual testing of contributions\nagainst a new or existing app.</p>\n</section>\n<section id=\"javascript-contributions\">\n<h2>JavaScript contributions<a class=\"heading-anchor\" href=\"#javascript-contributions\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>For information on JavaScript contributions, see the <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/writing-code/javascript/#javascript-patches\"><span class=\"std std-ref\">JavaScript 패치</span></a>\ndocumentation.</p>\n</section>\n<section id=\"optimization-patches\">\n<h2>Optimization patches<a class=\"heading-anchor\" href=\"#optimization-patches\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Patches aiming to deliver a performance improvement should provide benchmarks\nshowing the before and after impact of the patch and sharing the commands for\nreviewers to reproduce.</p>\n<section id=\"django-asv-benchmarks\">\n<span id=\"id2\"></span><h3><code class=\"docutils literal notranslate\">django-asv</code> benchmarks<a class=\"heading-anchor\" href=\"#django-asv-benchmarks\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p><a class=\"reference external\" href=\"https://github.com/django/django-asv/\">django-asv</a> monitors the performance of Django code over time. These\nbenchmarks can be run on a pull request by labeling the pull request with\n<code class=\"docutils literal notranslate\">benchmark</code>. Adding to these benchmarks is highly encouraged.</p>\n</section>\n</section>\n<section id=\"contribution-checklist\">\n<span id=\"patch-review-checklist\"></span><h2>Contribution checklist<a class=\"heading-anchor\" href=\"#contribution-checklist\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>Use this checklist to review a pull request. If this contribution would not be\n<a class=\"reference internal\" href=\"#trivial-change\"><span class=\"std std-ref\">considered trivial</span></a>, first ensure it has an accepted\nticket before proceeding with the review.</p>\n<p>If the pull request passes all the criteria below and is not your own, please\nset the “Triage Stage” on the corresponding Trac ticket to “Ready for checkin”.\nIf you’ve left comments for improvement on the pull request, please tick the\nappropriate flags on the Trac ticket based on the results of your review:\n“Patch needs improvement”, “Needs documentation”, and/or “Needs tests”. As time\nand interest permits, mergers do final reviews of “Ready for checkin” tickets\nand will either commit the changes or bump it back to “Accepted” if further\nwork needs to be done.</p>\n<p>If you’re looking to become a member of the <a class=\"reference external\" href=\"https://www.djangoproject.com/foundation/teams/#triage-review-team\">triage &amp; review team</a>, doing\nthorough reviews of contributions is a great way to earn trust.</p>\n<p>Looking for a patch to review? Check out the “Patches needing review” section\nof the <a class=\"reference external\" href=\"https://dashboard.djangoproject.com/\">Django Development Dashboard</a>.</p>\n<p>Looking to get your pull request reviewed? Ensure the Trac flags on the ticket\nare set so that the ticket appears in that queue.</p>\n<section id=\"documentation\">\n<h3>문서<a class=\"heading-anchor\" href=\"#documentation\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>문서가 오류 없이 작성됩니까(“docs” 디렉토리에서 Windows의 “make html” 또는 “make.bat html”로 작성됩니까?</p></li>\n<li><p>문서가 :doc:’/internals/기여/writing-documentation’의 필기 스타일 지침을 따르고 있습니까?</p></li>\n<li><p>:ref:’철자 오류’가 있습니까?</p></li>\n</ul>\n</section>\n<section id=\"bugs\">\n<h3>버그<a class=\"heading-anchor\" href=\"#bugs\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>올바른 회귀 테스트가 있습니까(고정을 적용하기 전에 테스트가 실패해야 함)?</p></li>\n<li><p>:ref:”backport”가 Django의 안정적인 버전에 적합한 버그인 경우 “docs/releases/A.B.C.txt”에 릴리스 노트가 있습니까? 본점에만 적용되는 버그 수정에는 릴리스 노트가 필요하지 않습니다.</p></li>\n</ul>\n</section>\n<section id=\"new-features\">\n<h3>새로운 특징들<a class=\"heading-anchor\" href=\"#new-features\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>새로운 코드를 모두 “연습”하기 위한 테스트가 있습니까?</p></li>\n<li><p>“docs/releases/A”에 릴리즈 노트가 있습니까?B.txt’요?</p></li>\n<li><p>기능에 대한 설명서가 있고 그 설명서가 A.B나 바뀐 버전의 A.B가 있는 적절한 주석이 달린 참고 입니까?</p></li>\n</ul>\n</section>\n<section id=\"id3\">\n<h3>기능을 사용<a class=\"heading-anchor\" href=\"#id3\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<p>:ref:’decrating-a-feature’ 가이드를 참조하십시오.</p>\n</section>\n<section id=\"all-code-changes\">\n<h3>모든 코드가 변경됩니다.<a class=\"heading-anchor\" href=\"#all-code-changes\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>Does the <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/writing-code/coding-style/\"><span class=\"doc\">coding style</span></a> conform to our\nguidelines? Are there any  <code class=\"docutils literal notranslate\">black</code>, <code class=\"docutils literal notranslate\">blacken-docs</code>, <code class=\"docutils literal notranslate\">flake8</code>,\n<code class=\"docutils literal notranslate\">isort</code>, or <code class=\"docutils literal notranslate\">zizmor</code> errors? You can install the <a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/writing-code/coding-style/#coding-style-pre-commit\"><span class=\"std std-ref\">pre-commit</span></a> hooks to automatically catch these errors.</p></li>\n<li><p>변경 내용이 이전 버전과 호환되지 않는 경우 릴리스 노트(<code class=\"docutils literal notranslate\">docs/releases/A.B.txt</code>)에 참고 사항이 있습니까?</p></li>\n<li><p>장고의 테스트 스위트룸은 합격했나요?</p></li>\n<li><p>If the change affects the Django admin or rendered HTML output, has\n<a class=\"reference internal\" href=\"/ko/5.2/internals/contributing/accessibility/#accessibility-testing-baseline\"><span class=\"std std-ref\">accessibility testing</span></a> been done?</p></li>\n</ul>\n</section>\n<section id=\"all-tickets\">\n<h3>모든 티켓들<a class=\"heading-anchor\" href=\"#all-tickets\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h3>\n<ul class=\"simple\">\n<li><p>풀 요청은 :ref:’commit message format’ 뒤에 오는 메시지와 함께 스쿼시된 단일 커밋입니까?</p></li>\n<li><p>Are you the patch author and a new contributor? Please add yourself to the\n<a class=\"extlink-source reference external\" href=\"https://github.com/django/django/blob/stable/5.2.x/AUTHORS\">AUTHORS</a> file and submit a <a class=\"reference external\" href=\"https://www.djangoproject.com/foundation/cla/\">Contributor License Agreement</a>.</p></li>\n<li><p>Does this have an accepted ticket on Trac? All contributions require a ticket\nunless the <a class=\"reference internal\" href=\"#trivial-change\"><span class=\"std std-ref\">change is considered trivial</span></a>.</p></li>\n</ul>\n</section>\n</section>","rootId":"submitting-contributions","toc":[{"title":"오타 수정 및 사소한 문서 변경 사항입니다.","anchor":"typo-fixes-and-trivial-documentation-changes","children":[]},{"title":"티켓을 “청구하기”","anchor":"claiming-tickets","children":[{"title":"티켓 청구인의 책임입니다.","anchor":"ticket-claimers-responsibility","children":[]},{"title":"어떤 표를 구해야 합니까?","anchor":"which-tickets-should-be-claimed","children":[]}]},{"title":"Contribution style","anchor":"contribution-style","children":[]},{"title":"Contributions which require community feedback","anchor":"contributions-which-require-community-feedback","children":[{"title":"The new feature ideas tracker","anchor":"the-new-feature-ideas-tracker","children":[]},{"title":"The Django Forum","anchor":"the-django-forum","children":[]},{"title":"Third party package","anchor":"third-party-package","children":[]},{"title":"Django Enhancement Proposal (DEP)","anchor":"django-enhancement-proposal-dep","children":[]}]},{"title":"기능을 사용","anchor":"deprecating-a-feature","children":[]},{"title":"Testing with a Django project","anchor":"testing-with-a-django-project","children":[]},{"title":"JavaScript contributions","anchor":"javascript-contributions","children":[]},{"title":"Optimization patches","anchor":"optimization-patches","children":[{"title":"django-asv benchmarks","anchor":"django-asv-benchmarks","children":[]}]},{"title":"Contribution checklist","anchor":"contribution-checklist","children":[{"title":"문서","anchor":"documentation","children":[]},{"title":"버그","anchor":"bugs","children":[]},{"title":"새로운 특징들","anchor":"new-features","children":[]},{"title":"기능을 사용","anchor":"id3","children":[]},{"title":"모든 코드가 변경됩니다.","anchor":"all-code-changes","children":[]},{"title":"모든 티켓들","anchor":"all-tickets","children":[]}]}],"breadcrumbs":[{"docname":"internals/index","title":"Django internals","url":"/ko/5.2/internals/"},{"docname":"internals/contributing/index","title":"장고에 기여하기","url":"/ko/5.2/internals/contributing/"},{"docname":"internals/contributing/writing-code/index","title":"Contributing code","url":"/ko/5.2/internals/contributing/writing-code/"}],"prev":{"docname":"internals/contributing/writing-code/index","title":"Contributing code","url":"/ko/5.2/internals/contributing/writing-code/"},"next":{"docname":"internals/contributing/writing-code/unit-tests","title":"유닛 테스트","url":"/ko/5.2/internals/contributing/writing-code/unit-tests/"},"formats":{"html":"/ko/5.2/internals/contributing/writing-code/submitting-patches/","markdown":"/ko/5.2/internals/contributing/writing-code/submitting-patches.md","json":"/ko/5.2/internals/contributing/writing-code/submitting-patches.json"},"source":"https://github.com/django/django/blob/stable/5.2.x/docs/internals/contributing/writing-code/submitting-patches.txt","official":"https://docs.djangoproject.com/ko/5.2/internals/contributing/writing-code/submitting-patches/","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"],"inLocales":["en","sv","zh-hans","ga","fr","ja","id","it","pt-br","ko","es","el","pl"]}