{"title":"첫 번째 Django 앱 작성하기, part 8","version":"5.0","locale":"ko","docname":"intro/tutorial08","url":"/ko/5.0/intro/tutorial08/","canonical":"https://djangodocs.dev/ko/5.0/intro/tutorial08/","summary":"이 튜토리얼은 :doc:`튜토리얼 7`에서 중단된 부분부터 시작합니다. 웹 설문조사 애플리케이션을 구축했으니 이제 서드파티 패키지를 살펴보겠습니다.","html":"<h1>첫 번째 Django 앱 작성하기, part 8<a class=\"heading-anchor\" href=\"#writing-your-first-django-app-part-8\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h1>\n<p>이 튜토리얼은 :doc:<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>튜토리얼 7`에서 중단된 부분부터 시작합니다. 웹 설문조사 애플리케이션을 구축했으니 이제 서드파티 패키지를 살펴보겠습니다. 장고의 강점 중 하나는 풍부한 서드파티 패키지 생태계입니다. 커뮤니티에서 개발한 패키지로 애플리케이션의 기능 세트를 빠르게 개선하는 데 사용할 수 있습니다.</p>\n<p>이 튜토리얼에서는 일반적으로 사용되는 서드파티 패키지인 <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Django Debug Toolbar &lt;<a class=\"reference external\" href=\"https://django-debug-toolbar.readthedocs.io\">https://django-debug-toolbar.readthedocs.io</a>&gt;`_를 추가하는 방법을 보여드립니다. Django 디버그 도구 모음은 최근 몇 년 동안 Django 개발자 설문조사에서 가장 많이 사용된 서드파티 패키지 상위 3위에 올랐습니다.</p>\n<aside class=\"admonition-where-to-get-help admonition\" role=\"note\">\n<p class=\"admonition-title\">도움을 받을 수 있는 방법</p>\n<p>이 튜토리얼을 수행하는 데 문제가 있는 경우 FAQ 섹션인 :doc:<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Getting Help &lt;/faq/help&gt;`으로 이동하십시오.</p>\n</aside>\n<section id=\"installing-django-debug-toolbar\">\n<h2>Django 디버그 툴바 설치하기<a class=\"heading-anchor\" href=\"#installing-django-debug-toolbar\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>장고 디버그 툴바는 장고 웹 애플리케이션을 디버깅하는 유용한 도구입니다. 이 서드파티 패키지는 재즈밴드 &lt;<a class=\"reference external\" href=\"https://jazzband.co\">https://jazzband.co</a>&gt;`_ 조직에서 유지 관리하고 있습니다. 이 도구 모음은 현재 요청 및 응답에 대한 디버그 정보를 제공하는 패널을 제공함으로써 애플리케이션의 작동 방식을 이해하고 문제를 식별하도록 돕습니다.</p>\n<p>서드 파티 애플리케이션을 설치하려면 활성화된 가상 환경 내에서 아래 명령을 실행하여 패키지를 설치해야 합니다. 이는 이전 단계인 :ref:<a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>install Django 1`과 유사합니다.</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>python -m pip install django-debug-toolbar\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> py -m pip install django-debug-toolbar\n</code></pre></div></div></div>\n<p>Django와 통합되는 서드 파티 패키지를 프로젝트와 통합하기 위해 설치 후 몇 가지 설정이 필요합니다. 패키지의 Django 앱을 <a class=\"reference internal\" href=\"/ko/5.0/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\">INSTALLED_APPS</code></a> 설정에 추가해야 할 수 있습니다. 일부 패키지는 URLconf(<code class=\"docutils literal notranslate\">urls.py</code>)에 추가하는 등 다른 변경이 필요합니다.</p>\n<p>장고 디버그 툴바에는 몇 가지 설정 단계가 필요합니다. 설치 가이드 &lt;<a class=\"reference external\" href=\"https://django-debug-toolbar.readthedocs.io/en/latest/installation.html\">https://django-debug-toolbar.readthedocs.io/en/latest/installation.html</a>&gt;`_에서 해당 단계를 따르세요. Django의 일정과 독립적으로 변경되는 서드 파티 패키지이므로 이 자습서에서는 중복하여 기술하지 않겠습니다.</p>\n<p>설치가 완료되면, 설문 어플리케이션을 새로 고침할 때 브라우저 창의 오른쪽에 DjDT “handle”이 표시됩니다. 디버그 툴바를 클릭하여 열고 각 패널의 도구를 사용하십시오. 패널에 표시되는 내용에 대한 자세한 정보는 <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>패널 설명 페이지 &lt;<a class=\"reference external\" href=\"https://django-debug-toolbar.readthedocs.io/en/latest/panels.html\">https://django-debug-toolbar.readthedocs.io/en/latest/panels.html</a>&gt;`__를 참조하십시오.</p>\n</section>\n<section id=\"getting-help-from-others\">\n<h2>다른 사람의 도움 받기<a class=\"heading-anchor\" href=\"#getting-help-from-others\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>예를 들어 툴바가 렌더링 되지 않는 등의 문제가 어느 순간에 발생할 수 있습니다. 이러한 문제가 발생하고 직접 문제를 해결할 수 없는 경우에 사용할 수 있는 옵션이 있습니다.</p>\n<ol class=\"arabic simple\">\n<li><p>특정 패키지에 문제가 있는 경우 해당 패키지의 문서에 FAQ의 문제 해결 방법이 있는지 확인하세요. 예를 들어 Django 디버그 도구 모음에는 문제 해결 옵션을 간략하게 설명하는 ‘팁 섹션 &lt;<a class=\"reference external\" href=\"https://django-debug-toolbar.readthedocs.io/en/latest/tips.html\">https://django-debug-toolbar.readthedocs.io/en/latest/tips.html</a>&gt;`_’이 있습니다.</p></li>\n<li><p>패키지의 이슈 트래커에서 유사한 이슈를 검색하세요. Django 디버그 도구 모음은 <a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>온 GitHub &lt;<a class=\"reference external\" href=\"https://github.com/jazzband/django-debug-toolbar/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc\">https://github.com/jazzband/django-debug-toolbar/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc</a>&gt;`_입니다.</p></li>\n<li><p><a class=\"reference external\" href=\"https://forum.djangoproject.com/\">Django Forum</a> 을 참고하십시오.</p></li>\n<li><p><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Django Discord server &lt;<a class=\"reference external\" href=\"https://discord.gg/xcRH6mN4fa\">https://discord.gg/xcRH6mN4fa</a>&gt;`_에 가입하십시오.</p></li>\n<li><p><a href=\"#id1\"><span class=\"problematic\" id=\"id2\">`</span></a>Libera.chat &lt;<a class=\"reference external\" href=\"https://libera.chat/\">https://libera.chat/</a>&gt;`_의 #Django IRC 채에 가입하십시오.</p></li>\n</ol>\n</section>\n<section id=\"installing-other-third-party-packages\">\n<h2>다른 서드파티 패키지 설치하기<a class=\"heading-anchor\" href=\"#installing-other-third-party-packages\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>더 많은 서드파티 패키지가 있습니다. 이 패키지는 훌륭한 Django 리소스인 <a class=\"reference external\" href=\"https://djangopackages.org/\">Django Packages</a> 에서 찾을 수 있습니다.</p>\n<p>어떤 서드파티 패키지를 사용해야 하는지 알기 어려울 수 있습니다. 이는 여러분의 필요와 목표에 따라 달라집니다. 때로는 알파 상태의 패키지를 사용해도 괜찮을 때가 있습니다. 다른 경우에는 프로덕션 준비가 완료된 패키지를 사용해야 할 수도 있습니다. Adam Johnson의 블로그 게시물 &lt;<a class=\"reference external\" href=\"https://adamj.eu/tech/2021/11/04/the-well-maintained-test/\">https://adamj.eu/tech/2021/11/04/the-well-maintained-test/</a>&gt;`_에는 패키지를 “잘 유지 관리된(well maintained)” 것으로 간주하는 일련의 특징에 대한 설명이 나와 있습니다. Django 패키지는 패키지가 마지막으로 업데이트된 시기와 같은 일부 특징들에 대한 데이터를 보여줍니다.</p>\n<p>Adam이 그의 게시물에서 지적했듯이, 질문 중 하나에 대한 대답이 “아니오”일 때, 그것은 기여할 수 있는 기회입니다.</p>\n</section>\n<section id=\"what-s-next\">\n<h2>다음 내용은?<a class=\"heading-anchor\" href=\"#what-s-next\"><span class=\"visually-hidden\">Link to this heading</span><span aria-hidden=\"true\">#</span></a></h2>\n<p>초보 자습서는 여기서 끝납니다. 아울러 <a class=\"reference internal\" href=\"/ko/5.0/intro/whatsnext/\"><span class=\"doc\">앞으로 무엇을 해야할 지</span></a> 문서를 좀 더 읽어볼 수 있습니다.</p>\n<p>파이썬 패키징에 익숙하고 설문 조사를 “재사용 가능한 앱”으로 바꾸는 방법을 배우고 싶다면 <a class=\"reference internal\" href=\"/ko/5.0/intro/reusable-apps/\"><span class=\"doc\">심화 튜토리얼:재사용 가능한 애플리케이션을 만드는 법</span></a>을 읽어보십시오.</p>\n</section>","rootId":"writing-your-first-django-app-part-8","toc":[{"title":"Django 디버그 툴바 설치하기","anchor":"installing-django-debug-toolbar","children":[]},{"title":"다른 사람의 도움 받기","anchor":"getting-help-from-others","children":[]},{"title":"다른 서드파티 패키지 설치하기","anchor":"installing-other-third-party-packages","children":[]},{"title":"다음 내용은?","anchor":"what-s-next","children":[]}],"breadcrumbs":[{"docname":"intro/index","title":"시작하기","url":"/ko/5.0/intro/"}],"prev":{"docname":"intro/tutorial07","title":"첫 번째 장고 앱 작성하기, part 7","url":"/ko/5.0/intro/tutorial07/"},"next":{"docname":"intro/reusable-apps","title":"심화 튜토리얼: 재사용 가능한 앱을 만드는 법","url":"/ko/5.0/intro/reusable-apps/"},"formats":{"html":"/ko/5.0/intro/tutorial08/","markdown":"/ko/5.0/intro/tutorial08.md","json":"/ko/5.0/intro/tutorial08.json"},"source":"https://github.com/django/django/blob/stable/5.0.x/docs/intro/tutorial08.txt","official":"https://docs.djangoproject.com/ko/5.0/intro/tutorial08/","inVersions":["6.1","6.0","5.2","5.1","5.0","4.2"],"inLocales":["en","zh-hans","fr","ja","id","it","pt-br","ko","es","el","pl"]}