{"id":38660,"date":"2024-11-01T19:08:40","date_gmt":"2024-11-01T19:08:40","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38660"},"modified":"2024-11-26T06:43:41","modified_gmt":"2024-11-26T06:43:41","slug":"django-%ec%84%9c%eb%b2%84%ea%b0%9c%eb%b0%9c-%ea%b0%84%eb%8b%a8%ed%95%9c-%eb%b8%94%eb%a1%9c%ea%b7%b8-%ec%95%a0%ed%94%8c%eb%a6%ac%ec%bc%80%ec%9d%b4%ec%85%98-%eb%a7%8c%eb%93%a4%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38660\/","title":{"rendered":"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30"},"content":{"rendered":"<p><body><\/p>\n<p>Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \uace0\uae09 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc2e0\uc18d\ud55c \uc6f9 \uac1c\ubc1c\uc744 \uac00\ub2a5\ud558\uac8c \ud574\uc90d\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4dc\ub294 \uacfc\uc815\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uae30\ucd08\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uc815, \ubaa8\ub378 \uc124\uacc4, \ubdf0 \ubc0f \ud15c\ud50c\ub9bf \uc791\uc131\uae4c\uc9c0 \uc774\ub8e8\uc5b4\uc9c8 \uac83\uc785\ub2c8\ub2e4. \ub9c8\uc9c0\ub9c9\uc73c\ub85c, \uac04\ub2e8\ud55c \uac8c\uc2dc\ubb3c \ucd94\uac00 \ubc0f \uc0ad\uc81c \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uc5ec \uc644\uc804\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc644\uc131\ud558\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. Django \uc124\uce58\ud558\uae30<\/h2>\n<p>\uc6b0\uc120 Django\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. Python\uc774 \uc124\uce58\ub418\uc5b4 \uc788\uc5b4\uc57c \ud558\uba70, Python \ud328\ud0a4\uc9c0 \uad00\ub9ac\uc790(pip)\ub97c \uc0ac\uc6a9\ud574 Django\ub97c \uc124\uce58\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>pip install django<\/code><\/pre>\n<h2>2. Django \ud504\ub85c\uc81d\ud2b8 \uc0dd\uc131<\/h2>\n<p>Django\ub97c \uc124\uce58\ud55c \ud6c4, \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\ub97c \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c \ud1b5\ud574 &#8216;myblog&#8217;\ub77c\ub294 \uc774\ub984\uc758 \ud504\ub85c\uc81d\ud2b8\ub97c \ub9cc\ub4e4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>django-admin startproject myblog<\/code><\/pre>\n<p>\ud504\ub85c\uc81d\ud2b8 \ub514\ub809\ud1a0\ub9ac\ub85c \uc774\ub3d9\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>cd myblog<\/code><\/pre>\n<h2>3. \uc571 \uc0dd\uc131<\/h2>\n<p>Django\uc5d0\uc11c\ub294 \ud55c \ud504\ub85c\uc81d\ud2b8 \ub0b4\uc5d0 \uc5ec\ub7ec \uac1c\uc758 \uc571\uc744 \uc0dd\uc131\ud558\uc5ec \uac01\uac01\uc758 \uae30\ub2a5\uc744 \ub2f4\ub2f9\ud558\ub3c4\ub85d \ud569\ub2c8\ub2e4. \uc774\ubc88 \uac15\uc88c\uc5d0\uc11c\ub294 &#8216;blog&#8217;\ub77c\ub294 \uc774\ub984\uc758 \uc571\uc744 \uc0dd\uc131\ud560 \uac83\uc785\ub2c8\ub2e4.<\/p>\n<pre><code>python manage.py startapp blog<\/code><\/pre>\n<h2>4. \ubaa8\ub378 \uc124\uacc4<\/h2>\n<p>\ub2e4\uc74c\uc73c\ub85c\ub294 \ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c\uc744 \uc800\uc7a5\ud558\uae30 \uc704\ud55c \ubaa8\ub378\uc744 \uc124\uacc4\ud558\uaca0\uc2b5\ub2c8\ub2e4. &#8216;blog\/models.py&#8217; \ud30c\uc77c\uc744 \uc5f4\uc5b4 \uc544\ub798\uc640 \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from django.db import models\n\nclass Post(models.Model):\n    title = models.CharField(max_length=200)\n    content = models.TextField()\n    created_at = models.DateTimeField(auto_now_add=True)\n\n    def __str__(self):\n        return self.title\n<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \uc81c\ubaa9(title), \ub0b4\uc6a9(content), \uc0dd\uc131\uc77c(created_at) \ud544\ub4dc\ub97c \uac00\uc9c4 &#8216;Post&#8217; \ubaa8\ub378\uc744 \uc815\uc758\ud569\ub2c8\ub2e4. &#8216;created_at&#8217; \ud544\ub4dc\ub294 \uc790\ub3d9\uc73c\ub85c \ud604\uc7ac \uc2dc\uac04\uc774 \uc800\uc7a5\ub429\ub2c8\ub2e4.<\/p>\n<h2>5. \ubaa8\ub378\uc744 \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \ubc18\uc601<\/h2>\n<p>\ubaa8\ub378\uc744 \uc815\uc758\ud55c \ud6c4\uc5d0\ub294 \uc774\ub97c \ub370\uc774\ud130\ubca0\uc774\uc2a4\uc5d0 \uc0dd\uc131\ud574\uc57c \ud569\ub2c8\ub2e4. \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ub370\uc774\ud130\ubca0\uc774\uc2a4 \ub9c8\uc774\uadf8\ub808\uc774\uc158\uc744 \uc218\ud589\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>python manage.py makemigrations\npython manage.py migrate<\/code><\/pre>\n<h2>6. \uad00\ub9ac\uc790 \ud398\uc774\uc9c0 \uc124\uc815<\/h2>\n<p>\uac8c\uc2dc\ubb3c\uc744 \uad00\ub9ac\ud560 \uc218 \uc788\ub294 \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\ub97c \uc124\uc815\ud569\ub2c8\ub2e4. &#8216;blog\/admin.py&#8217; \ud30c\uc77c\uc744 \uc5f4\uc5b4 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from django.contrib import admin\nfrom .models import Post\n\nadmin.site.register(Post)<\/code><\/pre>\n<p>\uc774\uc81c \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc5d0\uc11c \uac8c\uc2dc\ubb3c\uc744 \ucd94\uac00\ud558\uace0 \uc218\uc815\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad00\ub9ac\uc790 \uacc4\uc815\uc744 \uc0dd\uc131\ud558\ub824\uba74 \uc544\ub798 \uba85\ub839\uc5b4\ub97c \uc2e4\ud589\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>python manage.py createsuperuser<\/code><\/pre>\n<p>\uacc4\uc815\uc744 \uc0dd\uc131\ud55c \ud6c4, \uc11c\ubc84\ub97c \uc2e4\ud589\ud558\uc5ec \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc5d0 \uc811\uadfc\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>python manage.py runserver<\/code><\/pre>\n<h2>7. \ubdf0 \uc791\uc131<\/h2>\n<p>\uc774\uc81c \uac8c\uc2dc\ubb3c \ubaa9\ub85d\uc744 \ubcf4\uc5ec\uc904 \ubdf0\ub97c \uc791\uc131\ud558\uaca0\uc2b5\ub2c8\ub2e4. &#8216;blog\/views.py&#8217; \ud30c\uc77c\uc5d0\uc11c \uc544\ub798\uc640 \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from django.shortcuts import render\nfrom .models import Post\n\ndef post_list(request):\n    posts = Post.objects.all()\n    return render(request, 'blog\/post_list.html', {'posts': posts})<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\ub294 \ubaa8\ub4e0 \uac8c\uc2dc\ubb3c\uc744 \uac00\uc838\uc640 &#8216;post_list.html&#8217; \ud15c\ud50c\ub9bf\uc5d0 \uc804\ub2ec\ud569\ub2c8\ub2e4. \uc774\uc81c \ud15c\ud50c\ub9bf\uc744 \uc791\uc131\ud574\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h2>8. \ud15c\ud50c\ub9bf \uc791\uc131<\/h2>\n<p>&#8216;blog&#8217; \ub514\ub809\ud1a0\ub9ac \ub0b4\uc5d0 &#8216;templates&#8217; \ud3f4\ub354\ub97c \ub9cc\ub4e4\uace0 \uadf8 \uc548\uc5d0 &#8216;blog&#8217;\ub77c\ub294 \ub610 \ub2e4\ub978 \ud3f4\ub354\ub97c \uc0dd\uc131\ud55c \ud6c4, &#8216;post_list.html&#8217; \ud30c\uc77c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;!DOCTYPE html&gt;\n&lt;html lang=\"ko\"&gt;\n&lt;head&gt;\n    &lt;meta charset=\"UTF-8\"&gt;\n    &lt;title&gt;\ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;h1&gt;\ube14\ub85c\uadf8 \uac8c\uc2dc\ubb3c&lt;\/h1&gt;\n    &lt;ul&gt;\n    {% for post in posts %}\n        &lt;li&gt;{{ post.title }} - {{ post.created_at }}&lt;\/li&gt;\n    {% empty %}\n        &lt;li&gt;\uac8c\uc2dc\ubb3c\uc774 \uc5c6\uc2b5\ub2c8\ub2e4.&lt;\/li&gt;\n    {% endfor %}\n    &lt;\/ul&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n<h2>9. URL \uc124\uc815<\/h2>\n<p>Django\ub294 URL \ud328\ud134\uacfc \ubdf0\ub97c \uc5f0\uacb0\ud558\uc5ec \uc694\uccad\uc744 \ucc98\ub9ac\ud569\ub2c8\ub2e4. &#8216;blog\/urls.py&#8217; \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \ub2e4\uc74c\uacfc \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from django.urls import path\nfrom .views import post_list\n\nurlpatterns = [\n    path('', post_list, name='post_list'),\n]<\/code><\/pre>\n<p>\uc774\uc81c \ud504\ub85c\uc81d\ud2b8\uc758 URL \uc124\uc815 \ud30c\uc77c\uc778 &#8216;myblog\/urls.py&#8217; \ud30c\uc77c\uc744 \uc218\uc815\ud558\uc5ec \ube14\ub85c\uadf8 \uc571\uc758 URL\uc744 \ud3ec\ud568\uc2dc\ud0b5\ub2c8\ub2e4.<\/p>\n<pre><code>from django.contrib import admin\nfrom django.urls import path, include\n\nurlpatterns = [\n    path('admin\/', admin.site.urls),\n    path('', include('blog.urls')),\n]<\/code><\/pre>\n<h2>10. \uc2e4\ud589 \ubc0f \ud14c\uc2a4\ud2b8<\/h2>\n<p>\ubaa8\ub4e0 \uc124\uc815\uc774 \uc644\ub8cc\ub418\uc5c8\uc2b5\ub2c8\ub2e4. \uc11c\ubc84\ub97c \ub2e4\uc2dc \uc2e4\ud589\ud558\uace0 \ube0c\ub77c\uc6b0\uc800\uc5d0\uc11c <code>http:\/\/127.0.0.1:8000\/<\/code>\uc5d0 \uc811\uc18d\ud558\uc5ec \uac8c\uc2dc\ubb3c \ubaa9\ub85d\uc744 \ud655\uc778\ud558\uc138\uc694. \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc5d0\uc11c\ub294 <code>http:\/\/127.0.0.1:8000\/admin<\/code>\ub97c \ud1b5\ud574 \uac8c\uc2dc\ubb3c\uc744 \ucd94\uac00\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>11. \uac8c\uc2dc\ubb3c \uc0dd\uc131 \ubc0f \uc0ad\uc81c \uae30\ub2a5 \ucd94\uac00<\/h2>\n<p>\uac8c\uc2dc\ubb3c\uc744 \uc0dd\uc131\ud558\uace0 \uc0ad\uc81c\ud558\ub294 \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uaca0\uc2b5\ub2c8\ub2e4. &#8216;blog\/views.py&#8217;\uc5d0 \uc544\ub798\uc758 \ubdf0\ub97c \ucd94\uac00\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from django.shortcuts import redirect, get_object_or_404\nfrom django.http import HttpResponseRedirect\nfrom django.urls import reverse\n\ndef post_create(request):\n    if request.method == 'POST':\n        title = request.POST['title']\n        content = request.POST['content']\n        post = Post(title=title, content=content)\n        post.save()\n        return redirect('post_list')\n    return render(request, 'blog\/post_create.html')\n\ndef post_delete(request, pk):\n    post = get_object_or_404(Post, pk=pk)\n    post.delete()\n    return redirect('post_list')<\/code><\/pre>\n<p>\uc704 \ucf54\ub4dc\uc5d0\uc11c <code>post_create<\/code> \ud568\uc218\ub294 POST \uc694\uccad\uc744 \ud1b5\ud574 \uc0c8\ub85c\uc6b4 \uac8c\uc2dc\ubb3c\uc744 \uc0dd\uc131\ud569\ub2c8\ub2e4. <code>post_delete<\/code> \ud568\uc218\ub294 \uc8fc\uc5b4\uc9c4 \uac8c\uc2dc\ubb3c\uc758 \uae30\ubcf8\ud0a4\ub97c \uc0ac\uc6a9\ud558\uc5ec \ud574\ub2f9 \uac8c\uc2dc\ubb3c\uc744 \uc0ad\uc81c\ud569\ub2c8\ub2e4.<\/p>\n<h2>12. URL \ucd94\uac00<\/h2>\n<p>\uc0c8\ub85c\uc6b4 \ubdf0\ub97c URL\uc5d0 \ucd94\uac00\ud558\ub824\uba74 &#8216;blog\/urls.py&#8217;\ub97c \uc218\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from django.urls import path\nfrom .views import post_list, post_create, post_delete\n\nurlpatterns = [\n    path('', post_list, name='post_list'),\n    path('create\/', post_create, name='post_create'),\n    path('delete\/<int:pk>\/', post_delete, name='post_delete'),\n]<\/int:pk><\/code><\/pre>\n<h2>13. \ud15c\ud50c\ub9bf \ucd94\uac00<\/h2>\n<p>\uac8c\uc2dc\ubb3c\uc744 \uc0dd\uc131\ud558\uae30 \uc704\ud55c \ud15c\ud50c\ub9bf\ub3c4 \ucd94\uac00\ud574\uc57c \ud569\ub2c8\ub2e4. &#8216;blog\/templates\/blog\/post_create.html&#8217; \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \uc544\ub798\uc640 \uac19\uc774 \uc791\uc131\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>&lt;!DOCTYPE html&gt;\n&lt;html lang=\"ko\"&gt;\n&lt;head&gt;\n    &lt;meta charset=\"UTF-8\"&gt;\n    &lt;title&gt;\uac8c\uc2dc\ubb3c \uc791\uc131&lt;\/title&gt;\n&lt;\/head&gt;\n&lt;body&gt;\n    &lt;h1&gt;\uac8c\uc2dc\ubb3c \uc791\uc131&lt;\/h1&gt;\n    &lt;form method=\"POST\"&gt;\n        {% csrf_token %}\n        &lt;input type=\"text\" name=\"title\" placeholder=\"\uc81c\ubaa9\" required&gt;&lt;br&gt;\n        &lt;textarea name=\"content\" placeholder=\"\ub0b4\uc6a9\" required&gt;&lt;\/textarea&gt;&lt;br&gt;\n        &lt;button type=\"submit\"&gt;\uc791\uc131\ud558\uae30&lt;\/button&gt;\n    &lt;\/form&gt;\n    &lt;a href=\"{% url 'post_list' %}\"&gt;\ub4a4\ub85c\uac00\uae30&lt;\/a&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n<h2>14. \uacb0\ub860<\/h2>\n<p>\uc774\ub85c\uc368 \uac04\ub2e8\ud55c Django \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc644\uc131\ud588\uc2b5\ub2c8\ub2e4. \uc774 \uac15\uc88c\ub97c \ud1b5\ud574 Django\uc758 \uae30\ubcf8\uc801\uc778 \uad6c\uc870\uc640 \ud750\ub984\uc744 \uc774\ud574\ud560 \uc218 \uc788\uc5c8\uae30\ub97c \ubc14\ub78d\ub2c8\ub2e4. Django\ub294 \uac15\ub825\ud558\uace0 \ud655\uc7a5\uc131\uc774 \ub6f0\uc5b4\ub09c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\uc774\ubbc0\ub85c, \ub354 \ub9ce\uc740 \uae30\ub2a5\uc744 \ucd94\uac00\ud558\uba70 \uc2ec\ud654 \ud559\uc2b5\uc744 \uc9c4\ud589\ud574\ubcf4\uc138\uc694. \uc608\ub97c \ub4e4\uc5b4, \ub313\uae00 \uae30\ub2a5, \uce74\ud14c\uace0\ub9ac\ubcc4 \uac8c\uc2dc\ubb3c \ud544\ud130\ub9c1, \uc0ac\uc6a9\uc790 \uc778\uc99d \ubc0f \uad8c\ud55c \uad00\ub9ac \ub4f1\uc758 \uae30\ub2a5\uc744 \ucd94\uac00\ud568\uc73c\ub85c\uc368 \ub354\uc6b1 \uac15\ub825\ud55c \ube14\ub85c\uadf8\ub97c \ub9cc\ub4e4 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>15. \ucc38\uace0 \uc790\ub8cc<\/h2>\n<ul>\n<li><a href=\"https:\/\/www.djangoproject.com\/\">Django \uacf5\uc2dd \ubb38\uc11c<\/a><\/li>\n<li><a href=\"https:\/\/www.djangoproject.com\/start\/\">Django \uc2dc\uc791\ud558\uae30<\/a><\/li>\n<li><a href=\"https:\/\/realpython.com\/get-started-with-django-1\/\">Real Python\uc758 Django \uc2dc\uc791\ud558\uae30 \uac00\uc774\ub4dc<\/a><\/li>\n<\/ul>\n<p><\/body><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \uace0\uae09 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc2e0\uc18d\ud55c \uc6f9 \uac1c\ubc1c\uc744 \uac00\ub2a5\ud558\uac8c \ud574\uc90d\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4dc\ub294 \uacfc\uc815\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uae30\ucd08\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uc815, \ubaa8\ub378 \uc124\uacc4, \ubdf0 \ubc0f \ud15c\ud50c\ub9bf \uc791\uc131\uae4c\uc9c0 \uc774\ub8e8\uc5b4\uc9c8 \uac83\uc785\ub2c8\ub2e4. \ub9c8\uc9c0\ub9c9\uc73c\ub85c, \uac04\ub2e8\ud55c \uac8c\uc2dc\ubb3c \ucd94\uac00 \ubc0f \uc0ad\uc81c \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uc5ec \uc644\uc804\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc644\uc131\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Django \uc124\uce58\ud558\uae30 \uc6b0\uc120 Django\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38660\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\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-38660","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, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\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\/38660\/\" \/>\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, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \uace0\uae09 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc2e0\uc18d\ud55c \uc6f9 \uac1c\ubc1c\uc744 \uac00\ub2a5\ud558\uac8c \ud574\uc90d\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4dc\ub294 \uacfc\uc815\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uae30\ucd08\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uc815, \ubaa8\ub378 \uc124\uacc4, \ubdf0 \ubc0f \ud15c\ud50c\ub9bf \uc791\uc131\uae4c\uc9c0 \uc774\ub8e8\uc5b4\uc9c8 \uac83\uc785\ub2c8\ub2e4. \ub9c8\uc9c0\ub9c9\uc73c\ub85c, \uac04\ub2e8\ud55c \uac8c\uc2dc\ubb3c \ucd94\uac00 \ubc0f \uc0ad\uc81c \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uc5ec \uc644\uc804\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc644\uc131\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Django \uc124\uce58\ud558\uae30 \uc6b0\uc120 Django\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 &quot;DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38660\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T19:08:40+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-11-26T06:43:41+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=\"2\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38660\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38660\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30\",\"datePublished\":\"2024-11-01T19:08:40+00:00\",\"dateModified\":\"2024-11-26T06:43:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38660\/\"},\"wordCount\":73,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"DJango\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38660\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38660\/\",\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T19:08:40+00:00\",\"dateModified\":\"2024-11-26T06:43:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38660\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38660\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38660\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\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, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\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\/38660\/","og_locale":"ko_KR","og_type":"article","og_title":"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \uc791\uc131\ub41c \uace0\uae09 \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc2e0\uc18d\ud55c \uc6f9 \uac1c\ubc1c\uc744 \uac00\ub2a5\ud558\uac8c \ud574\uc90d\ub2c8\ub2e4. \ubcf8 \uac15\uc88c\uc5d0\uc11c\ub294 Django\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ub9cc\ub4dc\ub294 \uacfc\uc815\uc744 \ub2e8\uacc4\ubcc4\ub85c \uc124\uba85\ud558\uaca0\uc2b5\ub2c8\ub2e4. \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc758 \uae30\ucd08\ubd80\ud130 \uc2dc\uc791\ud558\uc5ec, \ub370\uc774\ud130\ubca0\uc774\uc2a4 \uc124\uc815, \ubaa8\ub378 \uc124\uacc4, \ubdf0 \ubc0f \ud15c\ud50c\ub9bf \uc791\uc131\uae4c\uc9c0 \uc774\ub8e8\uc5b4\uc9c8 \uac83\uc785\ub2c8\ub2e4. \ub9c8\uc9c0\ub9c9\uc73c\ub85c, \uac04\ub2e8\ud55c \uac8c\uc2dc\ubb3c \ucd94\uac00 \ubc0f \uc0ad\uc81c \uae30\ub2a5\uc744 \uad6c\ud604\ud558\uc5ec \uc644\uc804\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uc644\uc131\ud558\uaca0\uc2b5\ub2c8\ub2e4. 1. Django \uc124\uce58\ud558\uae30 \uc6b0\uc120 Django\ub97c \uc124\uce58\ud574\uc57c \ud569\ub2c8\ub2e4. &hellip; \ub354 \ubcf4\uae30 \"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/38660\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T19:08:40+00:00","article_modified_time":"2024-11-26T06:43:41+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":"2\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38660\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38660\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30","datePublished":"2024-11-01T19:08:40+00:00","dateModified":"2024-11-26T06:43:41+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38660\/"},"wordCount":73,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["DJango\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38660\/","url":"https:\/\/atmokpo.com\/w\/38660\/","name":"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T19:08:40+00:00","dateModified":"2024-11-26T06:43:41+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38660\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38660\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38660\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"DJango \uc11c\ubc84\uac1c\ubc1c, \uac04\ub2e8\ud55c \ube14\ub85c\uadf8 \uc560\ud50c\ub9ac\ucf00\uc774\uc158 \ub9cc\ub4e4\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\/38660","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=38660"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38660\/revisions"}],"predecessor-version":[{"id":38661,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38660\/revisions\/38661"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}