{"id":1883,"date":"2022-02-09T22:41:21","date_gmt":"2022-02-09T13:41:21","guid":{"rendered":"https:\/\/aiacademy.jp\/media\/?p=1883"},"modified":"2024-08-08T15:40:47","modified_gmt":"2024-08-08T06:40:47","slug":"%e3%80%90python%e3%80%91django%e3%81%a8%e3%81%af%ef%bc%9fdjango%e3%81%a7web%e9%96%8b%e7%99%ba%e3%81%ae%e5%9f%ba%e7%a4%8e%e3%82%92%e5%ad%a6%e3%81%bc%e3%81%86","status":"publish","type":"post","link":"https:\/\/aiacademy.jp\/media\/?p=1883","title":{"rendered":"\u3010Python\u3011Django\u3068\u306f\uff1fDjango\u3067Web\u958b\u767a\u306e\u57fa\u790e\u3092\u5b66\u307c\u3046"},"content":{"rendered":"<div id=\"sgb-css-id-1\">\n<div class=\"wp-block-buttons is-layout-flex wp-block-buttons-is-layout-flex\">\n<div class=\"wp-block-button has-custom-font-size is-style-fill has-medium-font-size\"><a class=\"wp-block-button__link has-vivid-green-cyan-background-color has-background wp-element-button\" href=\"https:\/\/lin.ee\/3E4GzWk\" rel=\"nofollow noopener\" target=\"_blank\">LINE\u53cb\u3060\u3061\u767b\u9332 \u25b6 LLM\u30a2\u30d7\u30ea\u958b\u767a\u30b3\u30fc\u30b9 \u25b6 \u53d7\u8b1b\u5272\u5f15\u30af\u30fc\u30dd\u30f3 \u7121\u6599\u52d5\u753b<\/a><\/div>\n<\/div>\n<\/div>\n\n\n<div class=\"toc\">    <div id=\"toc_container\" class=\"sgb-toc--no-bullets js-smooth-scroll\" data-dialog-title=\"Table of Contents\">\n      <p class=\"toc_title\">\u76ee\u6b21 <\/p>\n      <ul class=\"toc_list\">  <li class=\"first\">    <span><\/span>    <ul class=\"menu_level_1\">      <li class=\"first\">        <a href=\"#i-0\">Django\u3068\u306f<\/a>      <\/li>      <li>        <a href=\"#i-1\">Django\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/a>      <\/li>      <li class=\"last\">        <a href=\"#i-2\">Hello World\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u3088\u3046<\/a>      <\/li>    <\/ul>  <\/li>  <li class=\"last\">    <a href=\"#i-3\">Python\u3092\u52b9\u7387\u3088\u304f\u5b66\u3076\u306b\u306f\uff1f<\/a>  <\/li><\/ul>\n      \n    <\/div><\/div><div class=\"toc\"><p><\/p>\n<\/div><h2 class=\"wp-block-heading\" id=\"i-0\">Django\u3068\u306f<\/h2>\n\n\n\n<p><strong>Django(\u30b8\u30e3\u30f3\u30b4)\u3068\u306f\u3001WEB\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u305f\u3081\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3067\u3059\u3002<\/strong><br>\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3068\u306f\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3059\u308b\u4e0a\u3067\u5185\u5bb9\u304c\u30d1\u30bf\u30fc\u30f3\u5316\u3067\u304d\u308b\u4f5c\u696d\u3092\u7c21\u7565\u5316\u3057\u3001\u80fd\u7387\u3092\u4e0a\u3052\u308b\u3082\u306e\u3067\u3059\u3002Python\u88fd\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306f\u3044\u304f\u3064\u304b\u6319\u3052\u3089\u308c\u307e\u3059\u304c\u3001Django\u306f\u5b66\u7fd2\u30b3\u30b9\u30c8\u304c\u3084\u3084\u9ad8\u3081\u306a\u4e00\u65b9\u69d8\u3005\u306a\u6a5f\u80fd\u3092\u53d6\u308a\u8fbc\u3081\u308b\u3053\u3068\u304c\u53ef\u80fd\u3067\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-1\">Django\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/h2>\n\n\n\n<p>pip\u30b3\u30de\u30f3\u30c9\u3067\u3001Django\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install django<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"i-2\">Hello World\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u3088\u3046<\/h2>\n\n\n\n<p>\u3053\u306e\u30c6\u30ad\u30b9\u30c8\u3067\u306f\u3001\u624b\u59cb\u3081\u306bHello World\u3092\u8868\u793a\u3055\u305b\u308b\u3060\u3051\u306e\u7c21\u5358\u306a\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u958b\u767a\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002\u4eca\u56de\u4f5c\u6210\u3059\u308bDjango\u30d7\u30ed\u30b0\u30e9\u30e0\u3092<code>tclone<\/code>\u3068\u3044\u3046\u540d\u524d\u306b\u3057\u307e\u3059\u3002\u4f5c\u696d\u3092\u3059\u308b\u305f\u3081\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3057\u3087\u3046\u3002\u3053\u306e\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306e\u540d\u524d\u306f<code>ai_academy<\/code>\u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>mkdir ai_academy<\/code><\/pre>\n\n\n\n<p>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3067\u304d\u307e\u3057\u305f\u306e\u3067\u3001\u4f5c\u6210\u3057\u305f\u4f5c\u696d\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306bcd\u30b3\u30de\u30f3\u30c9\u3067\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd ai_academy<\/code><\/pre>\n\n\n\n<p>\u4f5c\u6210\u3059\u308bDjango\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3068\u8a00\u3044\u307e\u3059\u3002\u305d\u306e\u4e2d\u3067\u3001\u500b\u3005\u306e\u6a5f\u80fd\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3068\u3044\u3046\u5358\u4f4d\u3067\u7ba1\u7406\u3057\u3066\u3044\u304d\u307e\u3059\u3002\u3053\u3053\u3067\u306e\u547d\u540d\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002\u30fb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\uff1a tclone\u30fb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u540d\uff1a index\u307e\u305a\u306f\u3001tclone\u3068\u3044\u3046\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>django-admin startproject tclone<\/code><\/pre>\n\n\n\n<p>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u79fb\u52d5\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd tclone<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u4ee5\u4e0b\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u6b21\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u3066\u304f\u3060\u3055\u3044\u3002<code>index<\/code>\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python manage.py startapp index<\/code><\/pre>\n\n\n\n<p>\u30fb\u4f5c\u6210\u3055\u308c\u305findex\u30d5\u30a9\u30eb\u30c0\u306e\u69cb\u6210<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>.\n\u251c\u2500\u2500 __init__.py\n\u251c\u2500\u2500 admin.py\n\u251c\u2500\u2500 apps.py\n\u251c\u2500\u2500 migrations\n\u2502   \u2514\u2500\u2500 __init__.py\n\u251c\u2500\u2500 models.py\n\u251c\u2500\u2500 tests.py\n\u2514\u2500\u2500 views.py\n\n1 directory, 7 files<\/code><\/pre>\n\n\n\n<p>\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u304b\u3089\u30a2\u30af\u30bb\u30b9\u304c\u3042\u3063\u305f\u3089\u3001Django\u5185\u3067\u306f\u4ee5\u4e0b\u306e\u6d41\u308c\u3067\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u51e6\u7406\u3092\u8fd4\u3057\u3066\u3044\u304d\u307e\u3059\u30021. \u8a2d\u5b9a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\uff08\u3053\u306e\u5834\u5408\u306f\u3001<code>ai_academy\/tclone<\/code>\uff09\u5185\u306e<code>urls.py<\/code>\u3067\u3069\u306e\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306b\u51e6\u7406\u3092\u6e21\u3059\u304b\u6c7a\u5b9a2. 1.\u3067\u6c7a\u5b9a\u3055\u308c\u305f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u306eurls.py\u3067\u3001\u540c\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306e<code>views.py<\/code>\u3067\u3069\u306e\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u52d5\u304b\u3059\u304b\u6c7a\u5b9a2. \u30a2\u30af\u30b7\u30e7\u30f3\u767a\u52d53. \u30a2\u30af\u30b7\u30e7\u30f3\u306e\u7d50\u679c\uff08\u4f8b\uff1a\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u304b\u3089\u30c7\u30fc\u30bf\u3092\u6301\u3063\u3066\u304f\u308b\uff09\u3092\u30af\u30e9\u30a4\u30a2\u30f3\u30c8\u306b\u8fd4\u3059&nbsp;\u305d\u308c\u3067\u306f\u3001\u305d\u306e\u6d41\u308c\u306b\u5f93\u3063\u3066\u3001urls.py\u3092\u8a2d\u5b9a\u3057\u3066\u3044\u304d\u307e\u3057\u3087\u3046\u3002\u306a\u304a\u3001\u4eca\u56de\u306fadmin\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306f\u4f7f\u308f\u306a\u3044\u305f\u3081\u3001\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3057\u307e\u3059\u3002\u8a72\u5f53\u90e8\u5206\u3092\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u4fee\u6b63\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u307e\u305f\u5fc5\u305a\u3001include\u306e\u8ffd\u52a0\u3082\u5fd8\u308c\u306a\u3044\u3088\u3046\u306b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<p>&nbsp;1\uff092\u884c\u76ee\u306binclude\u3092\u8ffd\u52a0<\/p>\n\n\n\n<p>2\uff09&nbsp;<code>path('admin\/', admin.site.urls),<\/code>\u306e\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8<\/p>\n\n\n\n<p>3\uff09.&nbsp;<code>path('', include('index.urls'))<\/code>\u3092\u8ffd\u52a0&nbsp;<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>ai_academy\/tclone\/tclone\/urls.py<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.contrib import admin\nfrom django.urls import path,include # include\u3092\u8ffd\u52a0\n\nurlpatterns = [\n#  path('admin\/', admin.site.urls), #\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\n   path('', include('index.urls')), #\u3053\u3061\u3089\u3092\u8ffd\u52a0\n]<\/code><\/pre>\n\n\n\n<p>\u4e0a\u8a18\u3001<code>include<\/code>\u306e\u8aad\u307f\u8fbc\u307f\u306e\u30b3\u30fc\u30c9\u306e\u8ffd\u52a0\u3068\u3001\u30b3\u30e1\u30f3\u30c8\u30a2\u30a6\u30c8\u3068\u8ffd\u52a0\u306e\uff13\u70b9\u4fee\u6b63\u5b8c\u4e86\u51fa\u6765\u307e\u3057\u305f\u3067\u3057\u3087\u3046\u304b\u3002\u305d\u308c\u3067\u306f\u4eca\u56de\u8a2d\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u610f\u5473\u3092\u89e3\u8aac\u3044\u305f\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4f8b\u3048\u3070\u3001\u30e4\u30d5\u30fc\uff01\u30b8\u30e3\u30d1\u30f3\u306eyahoo.co.jp\u306b\u30a2\u30af\u30bb\u30b9\u3092\u3057\u305f\u3068\u3057\u307e\u3059\u3002\u3053\u306eyahoo.co.jp\u3092URL\u3068\u8a00\u3044\u307e\u3059\u3002\u305d\u3057\u3066\u3001yahoo.co.jp\u306e\u5f8c\u306b\u4f55\u3082\u3064\u3051\u306a\u3044URL\u3092\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3068\u8a00\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3066\u3001\u4eca\u56de\u306e<code>tclone<\/code>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306f6\u884c\u76ee\u3067\u5b9a\u7fa9\u3055\u308c\u3066\u3044\u307e\u3059\u3002<code>path('', include('index.urls'))<\/code>\u3068\u8a18\u8ff0\u304c\u3042\u308a\u307e\u3059\u304c\u3001path\u95a2\u6570\u306e\u7b2c\u4e00\u5f15\u6570\u306f\u30b7\u30f3\u30b0\u30eb\u30af\u30aa\u30fc\u30c8\u3067\u56f2\u307e\u308c\u3066\u3044\u307e\u3059\u304c\u3001\u4e2d\u8eab\u306f\u3042\u308a\u307e\u305b\u3093\u3002<\/p>\n\n\n\n<p>\u3064\u307e\u308a\u3001\u4f55\u3082\u3064\u3051\u306a\u3044\u306e\u3067\u3001\u3053\u3061\u3089\u306f\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u5f8c\u534a\u306e<code>index.urls<\/code>\u306f\u3001index\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u306e<code>urls.py<\/code>\u306b\u51e6\u7406\u3092\u5f15\u304d\u7d99\u3050\u3068\u3044\u3046\u610f\u5473\u3067\u3059\u3002\u3053\u3053\u307e\u3067\u306e\u8a71\u3092\u307e\u3068\u3081\u308b\u3068\u3001<code>tclone<\/code>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u304c\u3042\u3063\u305f\u3089\u3001<code>index<\/code>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e<code>urls.py<\/code>\u306b\u51e6\u7406\u3092\u5f15\u304d\u7d99\u3050\u3068\u3044\u3046\u3053\u3068\u306b\u306a\u308a\u307e\u3059\u3002\u305d\u308c\u3067\u306f\u3001<code>index<\/code>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u306e<code>urls.py<\/code>\u3092\u8a2d\u5b9a\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><code>index<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b<code>urls.py<\/code>\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u4ee5\u4e0b\u306e\u5185\u5bb9\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p><\/p>\n\n\n\n<p>&nbsp;ai_academy\/tclone\/index\/urls.py<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.urls import path\nfrom . import views\n\nurlpatterns = [\n    path('', views.index, name='index'),\n]<\/code><\/pre>\n\n\n\n<p>index\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u306e<code>urls.py<\/code>\u3067\u306e\u8a2d\u5b9a\u306f\u3001\u5148\u307b\u3069\u3068\u540c\u3058\u3088\u3046\u306b\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001<code>index<\/code>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u5185\u30c8\u30c3\u30d7\u30da\u30fc\u30b8\u306b\u30a2\u30af\u30bb\u30b9\u304c\u3042\u3063\u305f\u5834\u5408\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u305d\u306e\u6b21\u306b<code>views.index<\/code>\u3068\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u306f\u3001<code>views.py<\/code>\u3067<code>index<\/code>\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3092\u793a\u3057\u3066\u3044\u307e\u3059\u3002\u6b21\u306b\u3001index\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u306b\u8ffd\u52a0\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u8a72\u5f53\u90e8\u5206\u306b\u8ffd\u52a0\u3092\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>ai_academy\/tclone\/tclone\/settings.py<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>INSTALLED_APPS = [\n    'django.contrib.admin',\n    'django.contrib.auth',\n    'django.contrib.contenttypes',\n    'django.contrib.sessions',\n    'django.contrib.messages',\n    'django.contrib.staticfiles',\n    'index', # \u3053\u3061\u3089\u3092\u8ffd\u52a0\n]<\/code><\/pre>\n\n\n\n<p>\u4eca\u5ea6\u306fHello World\u3092\u8868\u793a\u3059\u308b\u753b\u9762\u306e\u8a2d\u5b9a\u3092\u3057\u307e\u3059\u3002index\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u306b<code>templates<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u3001\u305d\u306e\u4e2d\u306b\u3082index\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u305d\u306e\u5185\u90e8\u306b<code>index.html<\/code>\u3068\u3044\u3046\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u306b\u306f\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002&nbsp;<\/p>\n\n\n\n<p>ai_academy\/tclone\/index\/templates\/index\/index.html<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;h1&gt;Hello World&lt;\/h1&gt;<\/code><\/pre>\n\n\n\n<p>\u6700\u5f8c\u306bindex\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eviews.py\u306b\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u5185\u5bb9\u3092\u8a18\u8ff0\u3057\u3066\u304f\u3060\u3055\u3044\u3002&nbsp;<\/p>\n\n\n\n<p>ai_academy\/tclone\/index\/views.py<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.shortcuts import render\n\ndef index(request):\n    return render(request, 'index\/index.html')<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u72b6\u614b\u3067\u4ee5\u4e0b\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002\u30b5\u30fc\u30d0\u3092\u8d77\u52d5\u3055\u305b\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3092\u79fb\u52d5\u3057\u3066\u3044\u305f\u3089\u3001<code>manage.py<\/code>\u306e\u3042\u308b<code>ai_academy\/tclone<\/code>\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u5185\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python manage.py runserver<\/code><\/pre>\n\n\n\n<p>\u3053\u306e\u72b6\u614b\u3067<a rel=\"noreferrer noopener nofollow\" href=\"http:\/\/127.0.0.1:8000\/\" target=\"_blank\">http:\/\/127.0.0.1:8000<\/a>\u3092\u30d6\u30e9\u30a6\u30b6\u3067\u958b\u304d\u307e\u3059\u3002Hello World\u3068\u753b\u9762\u306b\u8868\u793a\u3055\u308c\u305f\u306f\u305a\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/aiacademy.jp\/assets\/upload\/chapter_000877_4a332pEVwddf.png\" alt=\"\"><\/figure>\n\n\n\n<h1 class=\"wp-block-heading\" id=\"i-3\">Python\u3092\u52b9\u7387\u3088\u304f\u5b66\u3076\u306b\u306f\uff1f<\/h1>\n\n\n\n<p>Python\u3092\u52b9\u7387\u3088\u304f\u5b66\u3076\u306b\u306f\u3001\u666e\u6bb5\u304b\u3089Python\u3092\u5229\u7528\u3057\u3066\u3044\u308b\u73fe\u5f79\u306e\u30c7\u30fc\u30bf\u30b5\u30a4\u30a8\u30f3\u30c6\u30a3\u30b9\u30c8\u3084\u6a5f\u68b0\u5b66\u7fd2\u30a8\u30f3\u30b8\u30cb\u30a2\u306b\u8cea\u554f\u3067\u304d\u308b\u74b0\u5883\u3067\u5b66\u3076\u3053\u3068\u3067\u3059\u3002<br>\u8cea\u554f\u3057\u653e\u984c\u304b\u3064\u3001\u4f53\u7cfb\u7684\u306b\u5b66\u3079\u308b\u52d5\u753b\u30b3\u30f3\u30c6\u30f3\u30c4\u3067\u30c7\u30fc\u30bf\u5206\u6790\u6280\u8853\u3092\u5b66\u3073\u305f\u3044\u65b9\u306f\u3001\u30aa\u30f3\u30e9\u30a4\u30f3\u3067\u597d\u304d\u306a\u6642\u9593\u306b\u52c9\u5f37\u3067\u304d\u308b<a href=\"https:\/\/aiacademy.jp\/bootcamp\">AI Academy Bootcamp<\/a>\u304c\u30aa\u30b9\u30b9\u30e1\u3067\u3059\u3002\u53d7\u8b1b\u6599\u3082\u696d\u754c\u6700\u5b89\u5024\u306e35,000\u5186\uff08\uff16\u30f6\u6708\u9593\u8cea\u554f\u3057\u653e\u984c\uff0b\u30aa\u30ea\u30b8\u30ca\u30eb\u306e\u52d5\u753b\u30b3\u30f3\u30c6\u30f3\u30c4\u3001\u30c6\u30ad\u30b9\u30c8\u30b3\u30f3\u30c6\u30f3\u30c4\u306e\u5229\u7528\u53ef\u80fd\uff09\u306a\u306e\u3067\u3001\u662f\u975e\u3054\u6d3b\u7528\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/aiacademy.jp\/bootcamp\/\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"341\" src=\"https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-1024x341.png\" alt=\"\" class=\"wp-image-691\" srcset=\"https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-1024x341.png 1024w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-300x100.png 300w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-768x256.png 768w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi-940x313.png 940w, https:\/\/aiacademy.jp\/media\/wp-content\/uploads\/2021\/12\/bootcamp_ad_72ppi.png 1200w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\"><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u76ee\u6b21 Django\u3068\u306f Django\u306e\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb Hello World\u3092\u8868\u793a\u3055\u305b\u3066\u307f\u3088\u3046 Python\u3092\u52b9\u7387\u3088\u304f\u5b66\u3076\u306b\u306f\uff1f Django\u3068\u306f Django(\u30b8\u30e3\u30f3\u30b4)\u3068\u306f\u3001WEB\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u308b\u305f\u3081\u306e\u30d5\u30ec\u30fc\u30e0\u30ef &#8230; <\/p>\n","protected":false},"author":1,"featured_media":1887,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[85],"tags":[],"class_list":{"0":"post-1883","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-python"},"_links":{"self":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts\/1883","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1883"}],"version-history":[{"count":4,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts\/1883\/revisions"}],"predecessor-version":[{"id":4837,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/posts\/1883\/revisions\/4837"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=\/wp\/v2\/media\/1887"}],"wp:attachment":[{"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1883"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1883"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/aiacademy.jp\/media\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1883"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}