{"title":"첫 번째 Django 앱 작성하기, part 8","version":"5.1","locale":"ko","docname":"intro/tutorial08","url":"/ko/5.1/intro/tutorial08/","canonical":"https://djangodocs.dev/ko/5.1/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>This tutorial will show how to add <a class=\"extlink-pypi reference external\" href=\"https://pypi.org/project/django-debug-toolbar/\">Django Debug Toolbar</a>, a commonly used third-party package. The Django Debug\nToolbar has ranked in the top three most used third-party packages in the\nDjango Developers Survey in recent years.</p>\n<aside class=\"admonition-where-to-get-help admonition\">\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>Django Debug Toolbar is a useful tool for debugging Django web applications.\nIt’s a third-party package that is maintained by the community organization\n<a class=\"reference external\" href=\"https://github.com/django-commons\">Django Commons</a>. The toolbar helps you\nunderstand how your application functions and to identify problems. It does so\nby providing panels that provide debug information about the current request\nand response.</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<span class=\"w\"> </span>-m<span class=\"w\"> </span>pip<span class=\"w\"> </span>install<span class=\"w\"> </span>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.1/ref/settings/#std-setting-INSTALLED_APPS\"><code class=\"xref std std-setting docutils literal notranslate\"><span class=\"pre\">INSTALLED_APPS</span></code></a> 설정에 추가해야 할 수 있습니다. 일부 패키지는 URLconf(<code class=\"docutils literal notranslate\"><span class=\"pre\">urls.py</span></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>Once installed, you should be able to see the DjDT “handle” on the right side\nof the browser window when you browse to <code class=\"docutils literal notranslate\"><span class=\"pre\">http://localhost:8000/admin/</span></code>.\nClick it to open the debug toolbar and use the tools in each panel. See the\n<a class=\"reference external\" href=\"https://django-debug-toolbar.readthedocs.io/en/latest/panels.html\">panels documentation page</a> for more information on what the panels show.</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>Search for similar issues on the package’s issue tracker. Django Debug\nToolbar’s is <a class=\"reference external\" href=\"https://github.com/django-commons/django-debug-toolbar/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc\">on GitHub</a>.</p></li>\n<li><p><a class=\"reference external\" href=\"https://forum.djangoproject.com/\">Django Forum</a> 을 참고하십시오.</p></li>\n<li><p>Join the <a class=\"reference external\" href=\"https://chat.djangoproject.com\">Django Discord server</a>.</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.1/intro/whatsnext/\"><span class=\"doc\">앞으로 무엇을 해야할 지</span></a> 문서를 좀 더 읽어볼 수 있습니다.</p>\n<p>파이썬 패키징에 익숙하고 설문 조사를 “재사용 가능한 앱”으로 바꾸는 방법을 배우고 싶다면 <a class=\"reference internal\" href=\"/ko/5.1/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.1/intro/"}],"prev":{"docname":"intro/tutorial07","title":"첫 번째 장고 앱 작성하기, part 7","url":"/ko/5.1/intro/tutorial07/"},"next":{"docname":"intro/reusable-apps","title":"심화 튜토리얼: 재사용 가능한 앱을 만드는 법","url":"/ko/5.1/intro/reusable-apps/"},"formats":{"html":"/ko/5.1/intro/tutorial08/","markdown":"/ko/5.1/intro/tutorial08.md","json":"/ko/5.1/intro/tutorial08.json"},"source":"https://github.com/django/django/blob/stable/5.1.x/docs/intro/tutorial08.txt","official":"https://docs.djangoproject.com/ko/5.1/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"]}