{"id":1545,"date":"2021-08-30T20:36:19","date_gmt":"2021-08-30T11:36:19","guid":{"rendered":"http:\/\/leenux.kr\/?p=1545"},"modified":"2021-08-30T20:41:38","modified_gmt":"2021-08-30T11:41:38","slug":"django-%ec%9e%a5%ea%b3%a0-%ec%84%a4%ec%b9%98-%eb%b0%8f-%ec%8b%a4%ed%96%89","status":"publish","type":"post","link":"https:\/\/leenux.kr\/?p=1545","title":{"rendered":"[Django] \uc7a5\uace0 \uc124\uce58 \ubc0f \uc2e4\ud589"},"content":{"rendered":"\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/img1.daumcdn.net\/thumb\/R720x0.q80\/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile23.uf.tistory.com%2Fimage%2F99C27D425C62EEF820CFB8\" alt=\"Django] 02. Django \uc2dc\uc791, Hello World \ucd9c\ub825\"\/><\/figure>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc7a5\uace0\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \uc624\ud508 \uc18c\uc2a4 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c MVC \ud328\ud134\uc744 \ub530\ub974\uace0 \uc788\uc73c\uba70  \uc6f9 \uac1c\ubc1c\uc5d0\uc11c \ubc88\uac70\ub85c\uc6b4 \uc694\uc18c\ub4e4\uc744 \uc0c8\ub85c \uac1c\ubc1c\ud560 \ud544\uc694 \uc5c6\uc774 \ub0b4\uc7a5\ub41c \uae30\ub2a5\ub9cc\uc744 \uc774\uc6a9\ud574 \ube60\ub978 \uac1c\ubc1c\uc744 \ud560 \uc218 \uc788\ub2e4\ub294 \uc7a5\uc810\uc774 \uc788\ub2e4. <\/strong><\/p>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>Django \uc124\uce58<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install django==3.2<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\ud504\ub85c\uc81d\ud2b8 \ub9cc\ub4e4\uae30<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>django-admin startproject mysite<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\ud504\ub85c\uc81d\ud2b8 \ud30c\uc77c \uad6c\uc870<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">mysite\/\n    manage.py\n    mysite\/\n        __init__.py\n        settings.py\n        urls.py\n        asgi.py\n        wsgi.py<\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uac1c\ubc1c \uc11c\ubc84 \uc2e4\ud589<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python manage.py runserver<\/code><\/pre>\n\n\n\n<p class=\"has-text-color has-medium-font-size has-very-dark-gray-color\"><strong>\uc2e4\ud589 \ud55c \ub4a4 \uc6f9\ube0c\ub77c\uc6b0\uc800\uc5d0 URL \ubd80\ubd84\uc5d0 &#8220;localhost:8000&#8243;\uc73c\ub85c \uac80\uc0c9\ud558\uba74 \uc6b0\ub9ac\uac00 \ucc98\uc74c\uc5d0 \ubcf4\uc558\ub358 \uc544\ub798 \uc774\ubbf8\uc9c0\uac00 \ubcf4\uc77c \uac83\uc774\ub2e4.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img src=\"https:\/\/img1.daumcdn.net\/thumb\/R720x0.q80\/?scode=mtistory2&amp;fname=http%3A%2F%2Fcfile23.uf.tistory.com%2Fimage%2F99C27D425C62EEF820CFB8\" alt=\"Django] 02. Django \uc2dc\uc791, Hello World \ucd9c\ub825\"\/><\/figure>\n\n\n\n<hr class=\"wp-block-separator is-style-wide\"\/>\n\n\n\n<p><a href=\"https:\/\/docs.djangoproject.com\/ko\/3.2\/intro\/tutorial01\/\">Django \uacf5\uc2dd \uc0ac\uc774\ud2b8 \ucc38\uace0 \uc790\ub8cc<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>[Django] \uc7a5\uace0 \uc124\uce58 \ubc0f \uc2e4\ud589\ud558\uae30<\/p>\n","protected":false},"author":1,"featured_media":1546,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[94],"tags":[],"_links":{"self":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1545"}],"collection":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1545"}],"version-history":[{"count":3,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1545\/revisions"}],"predecessor-version":[{"id":1549,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/posts\/1545\/revisions\/1549"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=\/wp\/v2\/media\/1546"}],"wp:attachment":[{"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1545"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1545"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/leenux.kr\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1545"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}