{"id":38716,"date":"2024-11-01T19:09:04","date_gmt":"2024-11-01T19:09:04","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38716"},"modified":"2024-11-26T06:43:32","modified_gmt":"2024-11-26T06:43:32","slug":"django-%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c-%ec%82%ac%ec%9a%a9%ec%9e%90-%ea%b6%8c%ed%95%9c-%eb%b0%8f-%ea%b7%b8%eb%a3%b9-%ec%84%a4%ec%a0%95%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38716\/","title":{"rendered":"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30"},"content":{"rendered":"<p>Django\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uc758 \uc778\uc99d \ubc0f \uad8c\ud55c \uad00\ub9ac \uae30\ub2a5\uc744 \ub0b4\uc7a5\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\uc744 \ud6a8\uacfc\uc801\uc73c\ub85c \uad00\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\uc640 \ud568\uaed8 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. Django \uc124\uc815 \ubc0f \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870<\/h2>\n<p>\uc6b0\uc120, Django \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\ub824\uba74 Django\ub97c \uc124\uce58\ud558\uace0 \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud574\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c \ud1b5\ud574 Django\ub97c \uc124\uce58\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>pip install django<\/code><\/pre>\n<p>\uc124\uce58\uac00 \uc644\ub8cc\ub418\uba74, \uc0c8 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>django-admin startproject myproject<\/code><\/pre>\n<p>\uc774\uc81c \uc0dd\uc131\ub41c \ub514\ub809\ud1a0\ub9ac\ub85c \uc774\ub3d9\ud558\uc5ec, \uae30\ubcf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>cd myproject\npython manage.py startapp myapp<\/code><\/pre>\n<p>\uc774\uc81c \ud504\ub85c\uc81d\ud2b8\uc640 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uad6c\uc870\ub294 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<ul>\n<li>myproject\/\n<ul>\n<li>myproject\/\n<ul>\n<li>__init__.py<\/li>\n<li>settings.py<\/li>\n<li>urls.py<\/li>\n<li>wsgi.py<\/li>\n<\/ul>\n<\/li>\n<li>myapp\/\n<ul>\n<li>migrations\/<\/li>\n<li>__init__.py<\/li>\n<li>admin.py<\/li>\n<li>apps.py<\/li>\n<li>models.py<\/li>\n<li>tests.py<\/li>\n<li>views.py<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<h2>2. \uc0ac\uc6a9\uc790 \ubaa8\ub378 \uc124\uc815<\/h2>\n<p>Django\ub294 \ub0b4\uc7a5\ub41c \uc0ac\uc6a9\uc790 \ubaa8\ub378\uc744 \uc81c\uacf5\ud558\uba70, \uc774\ub97c \ud655\uc7a5\ud558\uac70\ub098 \ub300\uccb4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uae30\ubcf8\uc801\uc778 \uc0ac\uc6a9\uc790 \ubaa8\ub378\uc744 \uc124\uc815\ud55c \ud6c4, \uc774\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \ubc0f \uadf8\ub8f9 \uad8c\ud55c\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uc740 \uae30\ubcf8\uc801\uc778 \uc0ac\uc6a9\uc790 \ubaa8\ub378\uc744 \uc0ac\uc6a9\ud558\ub294 \ubc29\ubc95\uc785\ub2c8\ub2e4:<\/p>\n<pre><code>from django.contrib.auth.models import AbstractUser\nfrom django.db import models\n\nclass CustomUser(AbstractUser):\n    # \ucd94\uac00\uc801\uc778 \ud544\ub4dc\ub97c \uc5ec\uae30\uc5d0 \uc815\uc758\ud569\ub2c8\ub2e4\n    pass\n<\/code><\/pre>\n<p>\uc774 \ubaa8\ub378\uc744 \uc0ac\uc6a9\ud558\ub824\uba74 <code>settings.py<\/code> \ud30c\uc77c\uc5d0 \uc0ac\uc6a9\uc790 \ubaa8\ub378\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4:<\/p>\n<pre><code>AUTH_USER_MODEL = 'myapp.CustomUser'<\/code><\/pre>\n<h2>3. \uadf8\ub8f9 \ubc0f \uad8c\ud55c \uc124\uc815<\/h2>\n<p>Django\uc758 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc2dc\uc2a4\ud15c\uc744 \ud65c\uc6a9\ud558\uba74 \uc0ac\uc6a9\uc790\uc758 \uad8c\ud55c\uc744 \ud6a8\uc728\uc801\uc73c\ub85c \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Django\ub294 \uae30\ubcf8\uc801\uc73c\ub85c \uc0ac\uc6a9\uc790\uc5d0\uac8c &#8216;add&#8217;, &#8216;change&#8217;, &#8216;delete&#8217;, &#8216;view&#8217;\uc640 \uac19\uc740 \uad8c\ud55c\uc744 \ubd80\uc5ec\ud569\ub2c8\ub2e4. \uc774\uc81c \uc774\ub7ec\ud55c \uad8c\ud55c\uc744 \uc124\uc815\ud558\uae30 \uc704\ud574 \uba87 \uac00\uc9c0 \ub2e8\uacc4\ub97c \uc9c4\ud589\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h3>3.1. \uadf8\ub8f9 \uc0dd\uc131<\/h3>\n<p>\uadf8\ub8f9\uc744 \uc0dd\uc131\ud558\uc5ec \uc5ec\ub7ec \uc0ac\uc6a9\uc790\uc5d0\uac8c \ub3d9\uc77c\ud55c \uad8c\ud55c\uc744 \ubd80\uc5ec\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uadf8\ub8f9\uc744 \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>from django.contrib.auth.models import Group, Permission\n\n# \uadf8\ub8f9 \uc0dd\uc131\ngroup, created = Group.objects.get_or_create(name='Editors')\n\n# \uad8c\ud55c \ubd80\uc5ec\npermission = Permission.objects.get(codename='add_article')  # \uc608\uc81c \uad8c\ud55c\ngroup.permissions.add(permission)\n<\/code><\/pre>\n<h3>3.2. \uc0ac\uc6a9\uc790 \uadf8\ub8f9\uc5d0 \ucd94\uac00<\/h3>\n<p>\uc0ac\uc6a9\uc790\ub97c \ud2b9\uc815 \uadf8\ub8f9\uc5d0 \ucd94\uac00\ud558\uba74 \ud574\ub2f9 \uadf8\ub8f9\uc758 \ubaa8\ub4e0 \uad8c\ud55c\uc744 \uc0c1\uc18d\ubc1b\uc2b5\ub2c8\ub2e4. \uc0ac\uc6a9\uc790\ub97c \uadf8\ub8f9\uc5d0 \ucd94\uac00\ud558\ub294 \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>from django.contrib.auth.models import User\n\nuser = User.objects.get(username='john')\nuser.groups.add(group)\n<\/code><\/pre>\n<h2>4. \ucee4\uc2a4\ud140 \uad8c\ud55c \ub9cc\ub4e4\uae30<\/h2>\n<p>\uae30\ubcf8 \uc81c\uacf5\ub418\ub294 \uad8c\ud55c \uc678\uc5d0\ub3c4 \ucee4\uc2a4\ud140 \uad8c\ud55c\uc744 \uc815\uc758\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ud2b9\uc815 \ubaa8\ub378\uc5d0 \ub300\ud574 \ud2b9\uc218\ud55c \uad8c\ud55c\uc744 \ub9cc\ub4e4\uace0\uc790 \ud55c\ub2e4\uba74 \uc544\ub798\uc640 \uac19\uc740 \ucf54\ub4dc\ub97c \uc791\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>class Article(models.Model):\n    title = models.CharField(max_length=200)\n    content = models.TextField()\n\n    class Meta:\n        permissions = (\n            ('can_publish', 'Can publish articles'),\n        )\n<\/code><\/pre>\n<p>\uc774\uc81c \ub370\uc774\ud130 \ub9c8\uc774\uadf8\ub808\uc774\uc158\uc744 \uc2e4\ud589\ud558\uc5ec \uad8c\ud55c\uc744 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>python manage.py makemigrations\npython manage.py migrate<\/code><\/pre>\n<h2>5. \uc0ac\uc6a9\uc790 \uad8c\ud55c \ud655\uc778 \ubc0f \uc0ac\uc6a9<\/h2>\n<p>\uc0ac\uc6a9\uc790\uac00 \ud2b9\uc815 \uad8c\ud55c\uc744 \uac00\uc84c\ub294\uc9c0 \ud655\uc778\ud558\ub824\uba74 <code>user.has_perm('app.permission_codename')<\/code> \uba54\uc11c\ub4dc\ub97c \uc0ac\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc0ac\uc6a9\uc790\uac00 &#8216;can_publish&#8217; \uad8c\ud55c\uc744 \uac00\uc9c0\uace0 \uc788\ub294\uc9c0 \ud655\uc778\ud558\ub294 \ubc29\ubc95\uc740 \ub2e4\uc74c\uacfc \uac19\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>if user.has_perm('myapp.can_publish'):\n    # \uad8c\ud55c\uc774 \uc788\uc744 \uacbd\uc6b0 \uc2e4\ud589\ud560 \ucf54\ub4dc\n<\/code><\/pre>\n<h2>6. Django Admin\uc5d0\uc11c \uad8c\ud55c \uad00\ub9ac<\/h2>\n<p>Django\uc758 \uad00\ub9ac \ud328\ub110\uc740 \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9\uc744 \uc2dc\uac01\uc801\uc73c\ub85c \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \uac15\ub825\ud55c \ub3c4\uad6c\uc785\ub2c8\ub2e4. \ub2e4\uc74c \uba85\ub839\uc5b4\ub97c \ud1b5\ud574 \uad00\ub9ac \ud328\ub110\uc5d0 \uc811\uc18d\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>python manage.py createsuperuser<\/code><\/pre>\n<p>\uc774\uc81c \uc0dd\uc131\ub41c \uad00\ub9ac\uc790\ub97c \ud1b5\ud574 \uc0ac\uc6a9\uc790 \ubc0f \uadf8\ub8f9\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad00\ub9ac \ud328\ub110\uc5d0 \uc811\uc18d\ud558\uc5ec (&#8216;\/admin&#8217;) \uc0ac\uc6a9\uc790, \uadf8\ub8f9 \ubc0f \uad8c\ud55c\uc744 \ud3b8\ub9ac\ud558\uac8c \uad00\ub9ac\ud574 \ubcf4\uc138\uc694.<\/p>\n<h2>7. \uad8c\ud55c\uc5d0 \ub530\ub978 \ubdf0 \uc138\ubd80 \uc124\uc815<\/h2>\n<p>Django\uc758 \uad8c\ud55c \uccb4\uacc4\ub97c \ud65c\uc6a9\ud558\uc5ec \ud2b9\uc815 \ubdf0\uc5d0 \ub300\ud55c \uc811\uadfc\uc744 \uc81c\uc5b4\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc774 \ud2b9\uc815 \uad8c\ud55c\uc744 \uac00\uc9c4 \uc0ac\uc6a9\uc790\ub9cc \ud574\ub2f9 \ubdf0\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\ub3c4\ub85d \uc124\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4:<\/p>\n<pre><code>from django.contrib.auth.decorators import permission_required\n\n@permission_required('myapp.can_publish')\ndef publish_article(request, article_id):\n    # \uae30\uc0ac \uac8c\uc2dc \ucc98\ub9ac \ucf54\ub4dc\n<\/code><\/pre>\n<h2>8. \ub9c8\ubb34\ub9ac \ubc0f \uc2e4\uc2b5<\/h2>\n<p>\uc774\ubc88 \uac15\uc88c\ub97c \ud1b5\ud574 Django\uc758 \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uc2e4\uc81c\ub85c \uad8c\ud55c\uacfc \uadf8\ub8f9\uc744 \uc124\uc815\ud568\uc73c\ub85c\uc368 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \ubcf4\uc548\uc744 \uac15\ud654\ud558\uace0, \uc0ac\uc6a9\uc790 \uad00\ub9ac\uc758 \ud6a8\uc728\uc131\uc744 \ub192\uc77c \uc218 \uc788\uc2b5\ub2c8\ub2e4. \ub2e4\uc591\ud55c \uc608\uc81c\ub97c \ud1b5\ud574 \uc2e4\uc2b5\uc744 \uc9c4\ud589\ud558\uba70, \ub354 \uae4a\uc740 \uc774\ud574\ub97c \ub3d5\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p>\uc774 \uac15\uc88c\uc5d0\uc11c \ub2e4\ub8ec \ub0b4\uc6a9\uc744 \ubc14\ud0d5\uc73c\ub85c, \uc2e4\uc81c \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc801\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc0f \uad8c\ud55c \uad00\ub9ac\uc758 \uae30\ucd08\ub97c \ub2e4\uc838\ubcf4\uc138\uc694. \ucd94\uac00\uc801\uc73c\ub85c Django\uc758 \ub354 \ub2e4\uc591\ud55c \uae30\ub2a5\ub4e4\uc744 \ud0d0\uad6c\ud558\uace0 \ud559\uc2b5\ud574 \ub098\uac00\uae38 \uad8c\uc7a5\ud569\ub2c8\ub2e4.<\/p>\n<p>\uc774\uc81c \ub2f9\uc2e0\uc758 Django \ud504\ub85c\uc81d\ud2b8\uc5d0 \uc0ac\uc6a9\uc790 \uad8c\ud55c\uacfc \uadf8\ub8f9 \uc124\uc815\uc744 \ucd94\uac00\ud558\uc5ec \ub354\uc6b1 \uc548\uc815\uc801\uc774\uace0 \ud6a8\uc728\uc801\uc778 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uac1c\ubc1c\ud574\ubcf4\uc138\uc694!<\/p>\n<h2>\ubd80\ub85d: \ucd94\uac00 \ub9ac\uc18c\uc2a4<\/h2>\n<ul>\n<li><a href=\"https:\/\/docs.djangoproject.com\/en\/stable\/topics\/auth\/\">Django Authentication Documentation<\/a><\/li>\n<li><a href=\"https:\/\/docs.djangoproject.com\/en\/stable\/topics\/auth\/default\/#using-the-automatic-created-user-permissions\">Automatic User Permissions<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Django\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uc758 \uc778\uc99d \ubc0f \uad8c\ud55c \uad00\ub9ac \uae30\ub2a5\uc744 \ub0b4\uc7a5\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\uc744 \ud6a8\uacfc\uc801\uc73c\ub85c \uad00\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\uc640 \ud568\uaed8 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Django \uc124\uc815 \ubc0f \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870 \uc6b0\uc120, Django \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\ub824\uba74 Django\ub97c \uc124\uce58\ud558\uace0 \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud574\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38716\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[185],"tags":[],"class_list":["post-38716","post","type-post","status-publish","format-standard","hentry","category-django"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atmokpo.com\/w\/38716\/\" \/>\n<meta property=\"og:locale\" content=\"ko_KR\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Django\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uc758 \uc778\uc99d \ubc0f \uad8c\ud55c \uad00\ub9ac \uae30\ub2a5\uc744 \ub0b4\uc7a5\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\uc744 \ud6a8\uacfc\uc801\uc73c\ub85c \uad00\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\uc640 \ud568\uaed8 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Django \uc124\uc815 \ubc0f \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870 \uc6b0\uc120, Django \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\ub824\uba74 Django\ub97c \uc124\uce58\ud558\uace0 \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud574\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c &hellip; \ub354 \ubcf4\uae30 &quot;DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38716\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T19:09:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:43:32+00:00\" \/>\n<meta name=\"author\" content=\"root\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:site\" content=\"@bebubo4\" \/>\n<meta name=\"twitter:label1\" content=\"\uae00\uc4f4\uc774\" \/>\n\t<meta name=\"twitter:data1\" content=\"root\" \/>\n\t<meta name=\"twitter:label2\" content=\"\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04\" \/>\n\t<meta name=\"twitter:data2\" content=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38716\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38716\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30\",\"datePublished\":\"2024-11-01T19:09:04+00:00\",\"dateModified\":\"2024-11-26T06:43:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38716\/\"},\"wordCount\":54,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"DJango\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38716\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38716\/\",\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T19:09:04+00:00\",\"dateModified\":\"2024-11-26T06:43:32+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38716\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38716\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38716\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atmokpo.com\/w\/#website\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/atmokpo.com\/w\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ko-KR\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\",\"name\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"url\":\"https:\/\/atmokpo.com\/w\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"contentUrl\":\"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png\",\"width\":400,\"height\":400,\"caption\":\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\"},\"image\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/x.com\/bebubo4\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\",\"name\":\"root\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ko-KR\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g\",\"caption\":\"root\"},\"sameAs\":[\"http:\/\/atmokpo.com\/w\"],\"url\":\"https:\/\/atmokpo.com\/w\/author\/root\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/atmokpo.com\/w\/38716\/","og_locale":"ko_KR","og_type":"article","og_title":"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Django\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \uac1c\ubc1c\uc744 \uc704\ud55c \uac15\ub825\ud55c \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc0ac\uc6a9\uc790\uc758 \uc778\uc99d \ubc0f \uad8c\ud55c \uad00\ub9ac \uae30\ub2a5\uc744 \ub0b4\uc7a5\ud558\uace0 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \ud29c\ud1a0\ub9ac\uc5bc\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\uc744 \ud6a8\uacfc\uc801\uc73c\ub85c \uad00\ub9ac\ud558\ub294 \ubc29\ubc95\uc744 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uc774 \uacfc\uc815\uc5d0\uc11c \uc2e4\uc81c \uc608\uc81c \ucf54\ub4dc\uc640 \ud568\uaed8 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Django \uc124\uc815 \ubc0f \uae30\ubcf8 \ud504\ub85c\uc81d\ud2b8 \uad6c\uc870 \uc6b0\uc120, Django \ud504\ub85c\uc81d\ud2b8\ub97c \uc2dc\uc791\ud558\ub824\uba74 Django\ub97c \uc124\uce58\ud558\uace0 \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud574\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c &hellip; \ub354 \ubcf4\uae30 \"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/38716\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T19:09:04+00:00","article_modified_time":"2024-11-26T06:43:32+00:00","author":"root","twitter_card":"summary_large_image","twitter_creator":"@bebubo4","twitter_site":"@bebubo4","twitter_misc":{"\uae00\uc4f4\uc774":"root","\uc608\uc0c1 \ub418\ub294 \ud310\ub3c5 \uc2dc\uac04":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38716\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38716\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30","datePublished":"2024-11-01T19:09:04+00:00","dateModified":"2024-11-26T06:43:32+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38716\/"},"wordCount":54,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["DJango\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38716\/","url":"https:\/\/atmokpo.com\/w\/38716\/","name":"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T19:09:04+00:00","dateModified":"2024-11-26T06:43:32+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38716\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38716\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38716\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"DJango \uc11c\ubc84\uac1c\ubc1c, \uc0ac\uc6a9\uc790 \uad8c\ud55c \ubc0f \uadf8\ub8f9 \uc124\uc815\ud558\uae30"}]},{"@type":"WebSite","@id":"https:\/\/atmokpo.com\/w\/#website","url":"https:\/\/atmokpo.com\/w\/","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","description":"","publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/atmokpo.com\/w\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ko-KR"},{"@type":"Organization","@id":"https:\/\/atmokpo.com\/w\/#organization","name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","url":"https:\/\/atmokpo.com\/w\/","logo":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/","url":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","contentUrl":"https:\/\/atmokpo.com\/w\/wp-content\/uploads\/2024\/11\/logo.png","width":400,"height":400,"caption":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8"},"image":{"@id":"https:\/\/atmokpo.com\/w\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/x.com\/bebubo4"]},{"@type":"Person","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7","name":"root","image":{"@type":"ImageObject","inLanguage":"ko-KR","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/708197b41fc6435a7ce22d951b25d4a47e9e904270cb1f04682d4f025066f80c?s=96&d=mm&r=g","caption":"root"},"sameAs":["http:\/\/atmokpo.com\/w"],"url":"https:\/\/atmokpo.com\/w\/author\/root\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[],"_links":{"self":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38716","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/comments?post=38716"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38716\/revisions"}],"predecessor-version":[{"id":38717,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38716\/revisions\/38717"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38716"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38716"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38716"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}