{"id":38658,"date":"2024-11-01T19:08:39","date_gmt":"2024-11-01T19:08:39","guid":{"rendered":"http:\/\/atmokpo.com\/w\/?p=38658"},"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-%ec%bb%a4%ec%8a%a4%ed%85%80-%ec%9c%a0%ed%9a%a8%ec%84%b1-%ea%b2%80%ec%82%ac%ea%b8%b0-%ec%9e%91%ec%84%b1%ed%95%98%ea%b8%b0","status":"publish","type":"post","link":"https:\/\/atmokpo.com\/w\/38658\/","title":{"rendered":"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30"},"content":{"rendered":"<p>Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc9c4 \uac15\ub825\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ube60\ub974\uace0 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uadf8\uc911 \ud558\ub098\uac00 \ub370\uc774\ud130 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\uc785\ub2c8\ub2e4. Django\ub294 \uae30\ubcf8 \uc81c\uacf5 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd\uacfc \uc694\uad6c \uc0ac\ud56d\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\uc9c0\ub9cc, \ub54c\ub85c\ub294 \ud2b9\uc815 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc774\ub098 \ub370\uc774\ud130 \uc694\uad6c \uc0ac\ud56d\uc5d0 \ub9de\uac8c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud574\uc57c \ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Django\uc5d0\uc11c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud558\ub294 \ubc29\ubc95\uc744 \uc0c1\uc138\ud788 \uc54c\uc544\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>1. \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\uc758 \ud544\uc694\uc131<\/h2>\n<p>\uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc5d0\uc11c\ub294 \uc785\ub825 \ub370\uc774\ud130\uac00 \uc720\ud6a8\ud55c\uc9c0 \ud655\uc778\ud558\ub294 \uac83\uc774 \ub9e4\uc6b0 \uc911\uc694\ud569\ub2c8\ub2e4. \uae30\ubcf8 \uc81c\uacf5\ub418\ub294 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub4e4\uc740 \uc77c\ubc18\uc801\uc778 \uacbd\uc6b0\uc5d0 \uc798 \uc791\ub3d9\ud558\uc9c0\ub9cc, \ud2b9\uc815 \ube44\uc988\ub2c8\uc2a4 \uc694\uad6c\uc0ac\ud56d\uc774\ub098 \ub370\uc774\ud130 \uad6c\uc870\uc5d0 \ub530\ub77c\uc11c\ub294 \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\uac00 \ud544\uc694\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ub2e4\uc74c\uacfc \uac19\uc740 \uacbd\uc6b0\ub97c \uc0dd\uac01\ud574 \ubcfc \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<ul>\n<li>\ud2b9\uc815 \ud615\uc2dd\uc758 \ubb38\uc790\uc5f4 \uac80\uc0ac<\/li>\n<li>\uc774\uba54\uc77c \uc8fc\uc18c\uc758 \ub3c4\uba54\uc778 \ud655\uc778<\/li>\n<li>\ube44\ubc00\ubc88\ud638 \uac15\ub3c4 \uccb4\ud06c<\/li>\n<li>\uc0ac\uc6a9\uc790\uc758 \uace0\uc720\ud55c \ud544\ub4dc \uac80\uc0ac (\uc608: \uc0ac\uc6a9\uc790 \uc774\ub984\uc758 \uc720\uc77c\uc131)<\/li>\n<\/ul>\n<h2>2. Django\uc5d0 \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30<\/h2>\n<p>\uc774\uc81c Django\uc5d0\uc11c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud558\ub294 \ubc29\ubc95\uc744 \uc0b4\ud3b4\ubcf4\uaca0\uc2b5\ub2c8\ub2e4. \uae30\ubcf8 \uad6c\uc870\ub294 \uc544\uc8fc \uac04\ub2e8\ud558\uba70, \uc8fc\ub85c <code>validators.py<\/code> \ud30c\uc77c\uc5d0 \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc815\uc758\ud569\ub2c8\ub2e4.<\/p>\n<h3>2.1. \ud504\ub85c\uc81d\ud2b8 \ubc0f \uc571 \uc124\uc815\ud558\uae30<\/h3>\n<p>\uc6b0\uc120 Django \ud504\ub85c\uc81d\ud2b8\uc640 \uc571\uc744 \uc124\uc815\ud574\uc57c \ud569\ub2c8\ub2e4. \ub2e4\uc74c\uacfc \uac19\uc740 \uba85\ub839\uc5b4\ub85c \uc0c8\ub85c\uc6b4 \ud504\ub85c\uc81d\ud2b8\uc640 \uc571\uc744 \uc0dd\uc131\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>django-admin startproject myproject\ncd myproject\npython manage.py startapp myapp<\/code><\/pre>\n<p>\uadf8\ub9ac\uace0 <code>settings.py<\/code> \ud30c\uc77c\uc5d0 \uc0c8\ub85c \ub9cc\ub4e0 \uc571\uc744 \ucd94\uac00\ud569\ub2c8\ub2e4:<\/p>\n<pre><code>INSTALLED_APPS = [\n    ...\n    'myapp',\n]<\/code><\/pre>\n<h3>2.2. \uae30\ubcf8 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30<\/h3>\n<p>\uc774\uc81c <code>myapp<\/code> \ub514\ub809\ud1a0\ub9ac \ub0b4\uc5d0 <code>validators.py<\/code> \ud30c\uc77c\uc744 \uc0dd\uc131\ud558\uace0 \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud569\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \ube44\ubc00\ubc88\ud638 \uac15\ub3c4\ub97c \uac80\uc0ac\ud558\ub294 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>from django.core.exceptions import ValidationError\nimport re\n\ndef validate_strong_password(value):\n    if len(value) &lt; 8:\n        raise ValidationError(\n            '\ube44\ubc00\ubc88\ud638\ub294 8\uc790 \uc774\uc0c1\uc774\uc5b4\uc57c \ud569\ub2c8\ub2e4.'\n        )\n    if not re.search(r'\\d', value):\n        raise ValidationError(\n            '\ube44\ubc00\ubc88\ud638\uc5d0\ub294 \uc22b\uc790\uac00 \ud3ec\ud568\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.'\n        )\n    if not re.search(r'[A-Z]', value):\n        raise ValidationError(\n            '\ube44\ubc00\ubc88\ud638\uc5d0\ub294 \ub300\ubb38\uc790\uac00 \ud3ec\ud568\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.'\n        )\n    if not re.search(r'[a-z]', value):\n        raise ValidationError(\n            '\ube44\ubc00\ubc88\ud638\uc5d0\ub294 \uc18c\ubb38\uc790\uac00 \ud3ec\ud568\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.'\n        )\n    if not re.search(r'[!@#$%^&amp;*(),.?\":{}|&lt;&gt;]', value):\n        raise ValidationError(\n            '\ube44\ubc00\ubc88\ud638\uc5d0\ub294 \ud2b9\uc218\ubb38\uc790\uac00 \ud3ec\ud568\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.'\n        )<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c <code>validate_strong_password<\/code> \ud568\uc218\ub294 \uc785\ub825\ub41c \ube44\ubc00\ubc88\ud638\uac00 \ud2b9\uc815 \uc870\uac74\uc744 \ub9cc\uc871\ud558\ub294\uc9c0 \ud655\uc778\ud558\uace0, \ub9cc\uc871\ud558\uc9c0 \uc54a\uc744 \uacbd\uc6b0 <code>ValidationError<\/code>\ub97c \ubc1c\uc0dd\uc2dc\ud0b5\ub2c8\ub2e4.<\/p>\n<h3>2.3. \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc0ac\uc6a9\ud558\uae30<\/h3>\n<p>\ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc815\uc758\ud55c \ud6c4\uc5d0\ub294 \ubaa8\ub378\uc758 \ud544\ub4dc\uc5d0 \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc608\ub97c \ub4e4\uc5b4, \uc0ac\uc6a9\uc790\uac00 \ub4f1\ub85d\ud560 \ub54c \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\ub294 \ud544\ub4dc\uc5d0 \ud574\ub2f9 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc801\uc6a9\ud574\ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>from django.db import models\nfrom .validators import validate_strong_password\n\nclass User(models.Model):\n    username = models.CharField(max_length=150, unique=True)\n    password = models.CharField(max_length=128, validators=[validate_strong_password])<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\uc5d0\uc11c <code>password<\/code> \ud544\ub4dc\ub294 \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\uc778 <code>validate_strong_password<\/code>\ub97c \uc0ac\uc6a9\ud558\uc5ec \ube44\ubc00\ubc88\ud638\uc758 \uc720\ud6a8\uc131\uc744 \uac80\uc0ac\ud569\ub2c8\ub2e4.<\/p>\n<h2>3. \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \ud14c\uc2a4\ud2b8\ud558\uae30<\/h2>\n<p>\ubaa8\ub378\uacfc \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud55c \ud6c4\uc5d0\ub294 \uc774\ub97c \ud14c\uc2a4\ud2b8\ud558\uc5ec \uc62c\ubc14\ub974\uac8c \uc791\ub3d9\ud558\ub294\uc9c0 \ud655\uc778\ud574\uc57c \ud569\ub2c8\ub2e4. Django\uc758 \ud14c\uc2a4\ud2b8 \ud504\ub808\uc784\uc6cc\ud06c\ub97c \uc0ac\uc6a9\ud558\uc5ec \uac04\ub2e8\ud55c \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4\ub97c \uc791\uc131\ud574 \ubcf4\uaca0\uc2b5\ub2c8\ub2e4.<\/p>\n<pre><code>from django.test import TestCase\nfrom .models import User\nfrom django.core.exceptions import ValidationError\n\nclass UserModelTest(TestCase):\n    def test_strong_password(self):\n        user = User(username='testuser')\n        user.password = 'weak'\n        with self.assertRaises(ValidationError):\n            user.full_clean()\n\n        user.password = 'StrongPass1!'\n        try:\n            user.full_clean()  # should not raise\n        except ValidationError:\n            self.fail('ValidationError raised unexpectedly!') <\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \ube44\ubc00\ubc88\ud638\uac00 \uc720\ud6a8\ud558\uc9c0 \uc54a\uc744 \uacbd\uc6b0 <code>ValidationError<\/code>\uac00 \ubc1c\uc0dd\ud558\ub294\uc9c0\ub97c \uac80\uc99d\ud558\ub294 \ud14c\uc2a4\ud2b8 \ucf00\uc774\uc2a4\uc785\ub2c8\ub2e4. \uc57d\ud55c \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uba74 `full_clean()` \uba54\uc11c\ub4dc\ub294 \uc608\uc678\ub97c \ubc1c\uc0dd\uc2dc\ud0a4\uace0, \uac15\ub825\ud55c \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud558\uba74 \uc608\uc678\uac00 \ubc1c\uc0dd\ud558\uc9c0 \uc54a\uc544\uc57c \ud569\ub2c8\ub2e4.<\/p>\n<h2>4. \uc5ec\ub7ec \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc0ac\uc6a9\ud558\uae30<\/h2>\n<p>\ud558\ub098\uc758 \ud544\ub4dc\uc5d0\uc11c \uc5ec\ub7ec \uac1c\uc758 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc0ac\uc6a9\ud560 \uc218\ub3c4 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uacbd\uc6b0, <code>validators<\/code> \ubaa9\ub85d\uc5d0 \uc5ec\ub7ec \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \ucd94\uac00\ud558\uba74 \ub429\ub2c8\ub2e4.<\/p>\n<pre><code>from django.core.validators import RegexValidator\n\nclass User(models.Model):\n    username = models.CharField(max_length=150, unique=True)\n    password = models.CharField(\n        max_length=128,\n        validators=[\n            validate_strong_password,\n            RegexValidator(\n                regex=r'^[a-zA-Z0-9!@#$%^&amp;*()]+$',\n                message='\ube44\ubc00\ubc88\ud638\uc5d0\ub294 \uc54c\ud30c\ubcb3, \uc22b\uc790 \ub610\ub294 \ud2b9\uc218\ubb38\uc790\ub9cc \ud3ec\ud568\ub418\uc5b4\uc57c \ud569\ub2c8\ub2e4.',\n            ),\n        ]\n    )<\/code><\/pre>\n<p>\uc704\uc758 \ucf54\ub4dc\ub294 \ube44\ubc00\ubc88\ud638\uac00 \uac15\ub825\ud558\uba74\uc11c\ub3c4 \ud2b9\uc815 \uc815\uaddc \ud45c\ud604\uc2dd\uc5d0 \ub9de\ub3c4\ub85d \uc694\uad6c\ud558\ub294 \uacbd\uc6b0\ub97c \ubcf4\uc5ec\uc90d\ub2c8\ub2e4. \uc5ec\ub7ec \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc870\ud569\ud558\uc5ec \ub354 \uc815\uad50\ud55c \uac80\uc99d \ub85c\uc9c1\uc744 \uc218\ud589\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4.<\/p>\n<h2>5. \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc5d0\uc11c \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc0ac\uc6a9\ud558\uae30<\/h2>\n<p>Django\uc758 \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc5d0\uc11c\ub3c4 \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc801\uc6a9\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc5d0\uc11c \uc0ac\uc6a9\uc790\uc758 \ube44\ubc00\ubc88\ud638\ub97c \uc785\ub825\ud560 \ub54c\ub3c4 \ub3d9\uc77c\ud55c \uc720\ud6a8\uc131 \uac80\uc0ac\uac00 \uc801\uc6a9\ub429\ub2c8\ub2e4. \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc758 \ubaa8\ub378 \ud074\ub798\uc2a4\ub97c \ub4f1\ub85d\ud558\uae30 \uc704\ud574 <code>admin.py<\/code> \ud30c\uc77c\uc744 \uc218\uc815\ud569\ub2c8\ub2e4.<\/p>\n<pre><code>from django.contrib import admin\nfrom .models import User\n\n@admin.register(User)\nclass UserAdmin(admin.ModelAdmin):\n    list_display = ('username',)\n    search_fields = ('username',)<\/code><\/pre>\n<p>\uc774\uc81c Django\uc758 \uad00\ub9ac\uc790 \ud398\uc774\uc9c0\uc5d0\uc11c \uc0ac\uc6a9\uc790 \ub4f1\ub85d \uc2dc \ube44\ubc00\ubc88\ud638 \uc720\ud6a8\uc131 \uac80\uc0ac\uac00 \uc801\uc6a9\ub429\ub2c8\ub2e4.<\/p>\n<h2>6. \uacb0\ub860<\/h2>\n<p>\uc774\ubc88 \uae00\uc5d0\uc11c\ub294 Django\uc5d0\uc11c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud558\ub294 \ubc29\ubc95\uc5d0 \ub300\ud574 \uc54c\uc544\ubcf4\uc558\uc2b5\ub2c8\ub2e4. \uae30\ubcf8 \uc81c\uacf5 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub85c\ub294 \ubd80\uc871\ud55c \uacbd\uc6b0, \uc0c1\ud669\uc5d0 \ub9de\uac8c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud558\uc5ec \ub370\uc774\ud130 \uc720\ud6a8\uc131\uc744 \ubcf4\uc7a5\ud558\uace0 \uc0ac\uc6a9\uc790 \uacbd\ud5d8\uc744 \ud5a5\uc0c1\uc2dc\ud0ac \uc218 \uc788\uc2b5\ub2c8\ub2e4. \uc774\ub97c \ud1b5\ud574 \ub354 \uc548\uc804\ud558\uace0 \uc2e0\ub8b0\ud560 \uc218 \uc788\ub294 \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \uad6c\ucd95\ud560 \uc218 \uc788\uc2b5\ub2c8\ub2e4. Django\uc758 \uac15\ub825\ud55c \uae30\ub2a5\uc744 \ud65c\uc6a9\ud558\uc5ec \ub2e4\uc591\ud55c \ube44\uc988\ub2c8\uc2a4 \uc694\uad6c\uc0ac\ud56d\uc744 \ucda9\uc871\ud558\ub294 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud574\ubcf4\uc2dc\uae30 \ubc14\ub78d\ub2c8\ub2e4.<\/p>\n<p>\uc55e\uc73c\ub85c\ub3c4 Django\uc758 \ub2e4\uc591\ud55c \uae30\ub2a5 \uc18c\uac1c\uc640 \uc2e4\uc2b5\uc744 \ud1b5\ud574 \uac1c\ubc1c\uc790\ub85c\uc11c\uc758 \uc5ed\ub7c9\uc744 \ud0a4\uc6b0\uc2e4 \uc218 \uc788\ub3c4\ub85d \ub2e4\uc591\ud55c \uc8fc\uc81c\ub97c \ub2e4\ub8f0 \uc608\uc815\uc785\ub2c8\ub2e4. \ub2e4\uc74c \uac15\uc88c\uc5d0\uc11c\ub294 Django\uc5d0\uc11c\uc758 API \uac1c\ubc1c\uc5d0 \ub300\ud574 \uae4a\uc774 \uc788\uac8c \ub2e4\ub8f0 \uc608\uc815\uc774\ub2c8 \ub9ce\uc740 \uad00\uc2ec \ubd80\ud0c1\ub4dc\ub9bd\ub2c8\ub2e4.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc9c4 \uac15\ub825\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ube60\ub974\uace0 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uadf8\uc911 \ud558\ub098\uac00 \ub370\uc774\ud130 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\uc785\ub2c8\ub2e4. Django\ub294 \uae30\ubcf8 \uc81c\uacf5 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd\uacfc \uc694\uad6c \uc0ac\ud56d\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\uc9c0\ub9cc, \ub54c\ub85c\ub294 \ud2b9\uc815 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc774\ub098 \ub370\uc774\ud130 \uc694\uad6c \uc0ac\ud56d\uc5d0 \ub9de\uac8c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud574\uc57c \ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Django\uc5d0\uc11c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 &hellip; <a href=\"https:\/\/atmokpo.com\/w\/38658\/\" class=\"more-link\">\ub354 \ubcf4\uae30<span class=\"screen-reader-text\"> &#8220;DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\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-38658","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, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\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\/38658\/\" \/>\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, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"og:description\" content=\"Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc9c4 \uac15\ub825\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ube60\ub974\uace0 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uadf8\uc911 \ud558\ub098\uac00 \ub370\uc774\ud130 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\uc785\ub2c8\ub2e4. Django\ub294 \uae30\ubcf8 \uc81c\uacf5 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd\uacfc \uc694\uad6c \uc0ac\ud56d\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\uc9c0\ub9cc, \ub54c\ub85c\ub294 \ud2b9\uc815 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc774\ub098 \ub370\uc774\ud130 \uc694\uad6c \uc0ac\ud56d\uc5d0 \ub9de\uac8c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud574\uc57c \ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Django\uc5d0\uc11c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 &hellip; \ub354 \ubcf4\uae30 &quot;DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30&quot;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atmokpo.com\/w\/38658\/\" \/>\n<meta property=\"og:site_name\" content=\"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\" \/>\n<meta property=\"article:published_time\" content=\"2024-11-01T19:08:39+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=\"1\ubd84\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/atmokpo.com\/w\/38658\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38658\/\"},\"author\":{\"name\":\"root\",\"@id\":\"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7\"},\"headline\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30\",\"datePublished\":\"2024-11-01T19:08:39+00:00\",\"dateModified\":\"2024-11-26T06:43:41+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38658\/\"},\"wordCount\":17,\"publisher\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#organization\"},\"articleSection\":[\"DJango\uc11c\ubc84\uac1c\ubc1c\"],\"inLanguage\":\"ko-KR\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atmokpo.com\/w\/38658\/\",\"url\":\"https:\/\/atmokpo.com\/w\/38658\/\",\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8\",\"isPartOf\":{\"@id\":\"https:\/\/atmokpo.com\/w\/#website\"},\"datePublished\":\"2024-11-01T19:08:39+00:00\",\"dateModified\":\"2024-11-26T06:43:41+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atmokpo.com\/w\/38658\/#breadcrumb\"},\"inLanguage\":\"ko-KR\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atmokpo.com\/w\/38658\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atmokpo.com\/w\/38658\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\ud648\",\"item\":\"https:\/\/atmokpo.com\/w\/en\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\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, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\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\/38658\/","og_locale":"ko_KR","og_type":"article","og_title":"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","og_description":"Django\ub294 \ud30c\uc774\uc36c\uc73c\ub85c \ub9cc\ub4e4\uc5b4\uc9c4 \uac15\ub825\ud55c \uc6f9 \ud504\ub808\uc784\uc6cc\ud06c\ub85c, \uc6f9 \uc560\ud50c\ub9ac\ucf00\uc774\uc158\uc744 \ube60\ub974\uace0 \uc27d\uac8c \uac1c\ubc1c\ud560 \uc218 \uc788\ub294 \ub2e4\uc591\ud55c \uae30\ub2a5\uc744 \uc81c\uacf5\ud569\ub2c8\ub2e4. \uadf8\uc911 \ud558\ub098\uac00 \ub370\uc774\ud130 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\uc785\ub2c8\ub2e4. Django\ub294 \uae30\ubcf8 \uc81c\uacf5 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \ud1b5\ud574 \ub2e4\uc591\ud55c \ub370\uc774\ud130 \ud615\uc2dd\uacfc \uc694\uad6c \uc0ac\ud56d\uc744 \ucc98\ub9ac\ud560 \uc218 \uc788\uc9c0\ub9cc, \ub54c\ub85c\ub294 \ud2b9\uc815 \ube44\uc988\ub2c8\uc2a4 \ub85c\uc9c1\uc774\ub098 \ub370\uc774\ud130 \uc694\uad6c \uc0ac\ud56d\uc5d0 \ub9de\uac8c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30\ub97c \uc791\uc131\ud574\uc57c \ud560 \ud544\uc694\uac00 \uc788\uc2b5\ub2c8\ub2e4. \uc774 \uae00\uc5d0\uc11c\ub294 Django\uc5d0\uc11c \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 &hellip; \ub354 \ubcf4\uae30 \"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30\"","og_url":"https:\/\/atmokpo.com\/w\/38658\/","og_site_name":"\ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","article_published_time":"2024-11-01T19:08:39+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":"1\ubd84"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/atmokpo.com\/w\/38658\/#article","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/38658\/"},"author":{"name":"root","@id":"https:\/\/atmokpo.com\/w\/#\/schema\/person\/91b6b3b138fbba0efb4ae64b1abd81d7"},"headline":"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30","datePublished":"2024-11-01T19:08:39+00:00","dateModified":"2024-11-26T06:43:41+00:00","mainEntityOfPage":{"@id":"https:\/\/atmokpo.com\/w\/38658\/"},"wordCount":17,"publisher":{"@id":"https:\/\/atmokpo.com\/w\/#organization"},"articleSection":["DJango\uc11c\ubc84\uac1c\ubc1c"],"inLanguage":"ko-KR"},{"@type":"WebPage","@id":"https:\/\/atmokpo.com\/w\/38658\/","url":"https:\/\/atmokpo.com\/w\/38658\/","name":"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\ud558\uae30 - \ub77c\uc774\ube0c\uc2a4\ub9c8\ud2b8","isPartOf":{"@id":"https:\/\/atmokpo.com\/w\/#website"},"datePublished":"2024-11-01T19:08:39+00:00","dateModified":"2024-11-26T06:43:41+00:00","breadcrumb":{"@id":"https:\/\/atmokpo.com\/w\/38658\/#breadcrumb"},"inLanguage":"ko-KR","potentialAction":[{"@type":"ReadAction","target":["https:\/\/atmokpo.com\/w\/38658\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/atmokpo.com\/w\/38658\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\ud648","item":"https:\/\/atmokpo.com\/w\/en\/"},{"@type":"ListItem","position":2,"name":"DJango \uc11c\ubc84\uac1c\ubc1c, \ucee4\uc2a4\ud140 \uc720\ud6a8\uc131 \uac80\uc0ac\uae30 \uc791\uc131\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\/38658","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=38658"}],"version-history":[{"count":1,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38658\/revisions"}],"predecessor-version":[{"id":38659,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/posts\/38658\/revisions\/38659"}],"wp:attachment":[{"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/media?parent=38658"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/categories?post=38658"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atmokpo.com\/w\/wp-json\/wp\/v2\/tags?post=38658"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}