{"id":1244,"date":"2021-03-31T09:40:27","date_gmt":"2021-03-31T00:40:27","guid":{"rendered":"https:\/\/www.opentone.co.jp\/ot-lab\/?p=1244"},"modified":"2025-05-12T10:06:14","modified_gmt":"2025-05-12T01:06:14","slug":"pythonxdjango","status":"publish","type":"post","link":"https:\/\/www.opentone.co.jp\/ot-lab\/all\/web-system\/pythonxdjango","title":{"rendered":"Python\u00d7Django\u306b\u3088\u308b\u697d\u3005Web\u958b\u767a"},"content":{"rendered":"\n<p>\u3053\u3093\u306b\u3061\u306f\u3001W.N\u3067\u3059\u3002<br>\u5165\u793e\u5f8c\u521d\u306e\u672c\u30d6\u30ed\u30b0\u30d8\u306e\u6295\u7a3f\u3067\u3059\u3002<br>\u3053\u308c\u304b\u3089\u3082\u672b\u6c38\u304f\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6628\u4eca\u3067\u306f\u79d1\u5b66\u8a08\u7b97\u3084\u6a5f\u68b0\u5b66\u7fd2\u3092\u30e1\u30a4\u30f3\u306b\u5229\u7528\u304c\u76ee\u7acb\u3064Python\u3067\u3059\u304c\u3001Python\u306fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u69cb\u7bc9\u3059\u308b\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u304c\u591a\u6570\u5b58\u5728\u3057\u3001\u4eca\u5f8c\u306fWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u3067\u3082\u5229\u7528\u304c\u60f3\u5b9a\u51fa\u6765\u307e\u3059\u3002<br>\u305d\u3053\u3067\u4eca\u56de\u3001Python\u3067Web\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u69cb\u7bc9\u3092\u884c\u304a\u3046\u3068\u601d\u3044\u307e\u3059\u3002<br>Python\u3067\u4f5c\u308c\u3070\u3001Matplitlib\u306a\u3069\u6a5f\u68b0\u5b66\u7fd2\u3084\u95a2\u9023\u3059\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u304c\u5229\u7528\u3067\u304d\u3001\u305d\u306e\u7d50\u679c\u3092Web\u4e0a\u3067\u8868\u793a\u3059\u308b\u3053\u3068\u3082\u51fa\u6765\u308b\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u4eca\u56de\u306f\u4e0b\u8a18\u306e\u5185\u5bb9\u3067\u9032\u3081\u307e\u3059\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>\u4f5c\u6210\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/li><li>\u74b0\u5883\u4f5c\u6210<\/li><li>\u30b3\u30fc\u30c9\u751f\u6210\u3068\u305d\u306e\u5185\u5bb9<\/li><li>\u753b\u9762\u9077\u79fb\uff08\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\uff09<\/li><li>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/li><li>\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u3068\u53d7\u4fe1<\/li><\/ul>\n\n\n\n<p>\u3067\u306f\u9806\u3092\u8ffd\u3063\u3066\u8aac\u660e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u4f5c\u6210\u3059\u308b\u30b5\u30f3\u30d7\u30eb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3<\/h2>\n\n\n\n<p>\u6628\u4eca\u306fSPA(Single Page Application)\u304c\u4e3b\u6d41\u3067\u306f\u3042\u308a\u307e\u3059\u304c\u3001\u4eca\u56de\u306f\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u306e\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u306e\u8aac\u660e\u306a\u306e\u3067\u3001\u65e7\u6765\u304b\u3089\u3042\u308b\u30b5\u30fc\u30d0\u30fc\u30b5\u30a4\u30c9\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3092\u884c\u3046\uff08HTML\u3092\u8fd4\u5374\u3059\u308b\uff09\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092Django\u3092\u7528\u3044\u3066\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u5177\u4f53\u7684\u306a\u753b\u9762\u9077\u79fb\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002<br><a href=\"http:\/\/labs.opentone.co.jp\/wp-content\/uploads\/2018\/02\/01_sample.png\"><\/a><\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img fetchpriority=\"high\" decoding=\"async\" width=\"300\" height=\"231\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png\" alt=\"\" class=\"wp-image-1246\" \/><\/figure>\n\n\n\n<p>\u5165\u529b\u30da\u30fc\u30b8\u3068\u3001\u305d\u306e\u5165\u529b\u5185\u5bb9\u3092\u53d7\u3051\u53d6\u3063\u3066\u51fa\u529b\u3092\u884c\u306a\u3046\u51fa\u529b\u30da\u30fc\u30b8\u306e2\u30da\u30fc\u30b8\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u5165\u529b\u30da\u30fc\u30b8\u3067\u306f\u65e5\u4ed8\u3092\u5165\u529b\u3057\u3001\u51fa\u529b\u30da\u30fc\u30b8\u3067\u306f\u305d\u306e\u5185\u5bb9\u3092\u53d7\u3051\u53d6\u3063\u3066\u5165\u529b\u3055\u308c\u305f\u65e5\u4ed8\u306e\u66dc\u65e5\u3092\u51fa\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u74b0\u5883\u4f5c\u6210<\/h2>\n\n\n\n<p>Python3.6\u4e0a\u306bDjango\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<br>\u4eca\u56de\u306fpip\uff08Python\u7528\u306e\u30d1\u30c3\u30b1\u30fc\u30b8\u7ba1\u7406\u30b7\u30b9\u30c6\u30e0\uff09\u3067\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u8ffd\u52a0\u3057\u307e\u3059\u304c\u3001Anaconda\u3067\u3042\u308c\u3070Anaconda Navigator\u304b\u3089\u8ffd\u52a0\u3059\u308b\u306e\u304c\u826f\u3044\u3067\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install django<\/code><\/pre>\n\n\n\n<p>\u4f9d\u5b58\u95a2\u4fc2\u306e\u3042\u308b\u30e9\u30a4\u30d6\u30e9\u30ea\u3092pip\u304c\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001Django\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306b\u3082\u6210\u529f\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>Collecting django\n  Downloading Django-2.0.2-py3-none-any.whl (7.1MB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 7.1\nCollecting pytz (from django)\n  Downloading pytz-2018.3-py2.py3-none-any.whl (509kB)\n    100% |\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588\u2588| 512\nInstalling collected packages: pytz, django\nSuccessfully installed django-2.0.2 pytz-2018.3<\/code><\/pre>\n\n\n\n<p>\u52d5\u4f5c\u78ba\u8a8d\u3092\u3057\u307e\u3059\u3002<br>Python\u3092REPL\u3067\u8d77\u52d5\u3057\u3001Python\u30d7\u30ed\u30f3\u30d7\u30c8\u304b\u3089Django\u3092\u30a4\u30f3\u30dd\u30fc\u30c8\u3057\u3066\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u8868\u793a\u3055\u305b\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># python\nPython 3.6.4 |Anaconda, Inc.| (default, Jan 16 2018, 10:21:59) &#091;MSC v.1900 32 bit (Intel)] on win32\nType \"help\", \"copyright\", \"credits\" or \"license\" for more information.\n&gt;&gt;&gt; import django\n&gt;&gt;&gt; print(django.get_version())\n2.0.2<\/code><\/pre>\n\n\n\n<p>pip\u30b3\u30de\u30f3\u30c9\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u30d0\u30fc\u30b8\u30e7\u30f3 &#8220;2.0.2&#8221; \u304c\u8868\u793a\u3055\u308c\u305f\u306e\u3067\u6b63\u5e38\u306b\u52d5\u4f5c\u3057\u3066\u3044\u308b\u3053\u3068\u304c\u5206\u304b\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u78ba\u8a8d\u304c\u51fa\u6765\u305f\u306e\u3067REPL\u3092 exit() \u3067\u7d42\u4e86\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&gt;&gt;&gt; exit()<\/code><\/pre>\n\n\n\n<p>\u3055\u3042\u3001Django\u3067\u306e\u958b\u767a\u3092\u59cb\u3081\u308b\u6e96\u5099\u304c\u6574\u3044\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30b3\u30fc\u30c9\u751f\u6210\u3068\u305d\u306e\u5185\u5bb9<\/h2>\n\n\n\n<p>Python\u3067\u306eWeb\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u958b\u767a\u306f django-admin \u30b3\u30de\u30f3\u30c9\u304b\u3089\u59cb\u3081\u307e\u3059\u3002<br>django-admin \u30b3\u30de\u30f3\u30c9\u306f\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u96db\u5f62\u30b3\u30fc\u30c9\u306e\u751f\u6210\u306a\u3069\u3092\u884c\u306a\u3044\u307e\u3059\u3002<br>\u8a66\u3057\u306b django-admin \u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># django-admin\n\nType 'django-admin help ' for help on a specific subcommand.\n    \nAvailable subcommands:\n    \n<\/code><\/pre>\n\n\n[django]\n\n\n\n<p>check compilemessages createcachetable dbshell diffsettings dumpdata flush inspectdb loaddata makemessages makemigrations migrate runserver sendtestemail shell showmigrations sqlflush sqlmigrate sqlsequencereset squashmigrations startapp startproject test testserver Note that only Django core commands are listed as settings are not properly configured (error: Requested setting INSTALLED_APPS, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.).<\/p>\n\n\n\n<p>django-admin\u306b\u7d9a\u3044\u3066\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u69d8\u3005\u306a\u3053\u3068\u304c\u884c\u3048\u308b\u3053\u3068\u304c\u5206\u304b\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3055\u3066\u3001\u305d\u308c\u3067\u306f\u30b3\u30fc\u30c9\u3092\u7f6e\u304d\u305f\u3044\u5834\u6240\u306b cd \u3067\u79fb\u52d5\u3057\u305f\u5f8c\u3001\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306e\u96db\u5f62\u30b3\u30fc\u30c9\u306e\u751f\u6210\u3092\u884c\u306a\u3046 startproject \u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u3092\u5b9f\u884c\u3057\u307e\u3059\u3002<br>startproject\u30b5\u30d6\u30b3\u30de\u30f3\u30c9\u306e\u5f8c\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u304c\u5fc5\u8981\u3067\u3059\u306e\u3067\u3001\u4eca\u56de\u306f sample_prj \u3068\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># django-admin startproject sample_prj\n<\/code><\/pre>\n\n\n\n<p>\u4f55\u3082\u8868\u793a\u3055\u308c\u305a\u30b3\u30de\u30f3\u30c9\u306f\u7d42\u4e86\u3057\u307e\u3059\u304c\u6b63\u5e38\u7d42\u4e86\u3057\u3066\u3044\u307e\u3059\u3002<br>sample_prj\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3001\u3053\u306e\u3088\u3046\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sample_prj\n\u2502  manage.py\n\u2502\n\u2514\u2500sample_prj\n        settings.py\n        urls.py\n        wsgi.py\n        __init__.py<\/code><\/pre>\n\n\n\n<p>\u5916\u5074\u306esample_prj\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306f\u5165\u308c\u7269\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067\u3059\u3002\u5f8c\u304b\u3089\u540d\u524d\u3092\u5909\u66f4\u3057\u3066\u3082\u69cb\u3044\u307e\u305b\u3093\u3002<br>manage.py\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u69d8\u3005\u306a\u64cd\u4f5c\u3092\u3059\u308b\u305f\u3081\u306e\u30e6\u30fc\u30c6\u30a3\u30ea\u30c6\u30a3\u3067\u3059\u3002<br>\u5185\u5074\u306esample_prj\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306fPython\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3059\u3002\u30d1\u30c3\u30b1\u30fc\u30b8\u540d\u3067\u3059\u306e\u3067\u3001\u5f8c\u304b\u3089\u5909\u66f4\u3059\u308b\u3068\u5f71\u97ff\u304c\u5927\u304d\u3044\u306e\u3067\u5909\u66f4\u306f\u304a\u3059\u3059\u3081\u3057\u307e\u305b\u3093\u3002<br>__init__.py\u306fPython\u306b\u3053\u306e\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u30d1\u30c3\u30b1\u30fc\u30b8\u3067\u3042\u308b\u3053\u3068\u3092\u77e5\u3089\u305b\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002<br>settings.py\u306f\u8a2d\u5b9a\u306b\u5229\u7528\u3059\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002\u4f8b\u3048\u3070\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306e\u63a5\u7d9a\u5148\u306e\u5b9a\u7fa9\u306b\u5229\u7528\u3057\u307e\u3059\u3002<br>urls.py\u306f\u30ea\u30af\u30a8\u30b9\u30c8URL\u3068\u5b9f\u884c\u3059\u308b\u51e6\u7406\u3092\u7d10\u4ed8\u3051\u308b\u30b3\u30fc\u30c9\u3067\u3059\u3002<br>wsgi.py\u306fWSGI\u4e92\u63dbWeb\u30b5\u30fc\u30d0\u30fc\u3068\u306e\u30a8\u30f3\u30c8\u30ea\u30fc\u30dd\u30a4\u30f3\u30c8\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u4eca\u306fsample_prj\u306e\u4e00\u968e\u5c64\u4e0a\u306b\u3044\u308b\u3068\u601d\u3046\u306e\u3067\u3001\u5916\u5074\u306esample_prj\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 sample_prj<\/code><\/pre>\n\n\n\n<p>\u7d9a\u3044\u3066manage.py\u3092\u4f7f\u3063\u3066\u7d44\u307f\u8fbc\u307f\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u3066\u3001\u81ea\u52d5\u751f\u6210\u3057\u305f\u30b3\u30fc\u30c9\u304c\u52d5\u4f5c\u3059\u308b\u304b\u8a66\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># python manage.py runserver\nPerforming system checks...\n\nSystem check identified no issues (0 silenced).\n\nYou have 14 unapplied migration(s). Your project may not work properly until you apply the migrations for app(s): admin, auth, contenttypes, sessions\nRun 'python manage.py migrate' to apply them.\nFebruary 15, 2018 - 23:58:28\nDjango version 2.0.2, using settings 'sample_prj.settings'\nStarting development server at http:\/\/127.0.0.1:8000\/\nQuit the server with CTRL-BREAK.<\/code><\/pre>\n\n\n\n<p>http:\/\/127.0.0.1:8000\/ \u3067\u8d77\u52d5\u51fa\u6765\u305f\u306e\u3067\u3001\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3057\u3087\u3046\u3002<\/p>\n\n\n\n<p>\u3053\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u3001\u8d77\u52d5\u78ba\u8a8d\u306fOK\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"300\" height=\"177\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/02_django_working-300x177-1.png\" alt=\"\" class=\"wp-image-1245\" \/><\/figure>\n\n\n\n<p>\u7d9a\u3044\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306e\u540d\u524d\u306f sample_app \u3068\u3057\u307e\u3059\u3002<br>\u5916\u5074\u306esample_prj\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3067manage.py\u3092\u4f7f\u3063\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code># python manage.py startapp sample_app<\/code><\/pre>\n\n\n\n<p>sample_app\u3068\u3044\u3046\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u304c\u4f5c\u6210\u3055\u308c\u3001sample_app\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u306f\u3053\u306e\u3088\u3046\u306a\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u3068\u30d5\u30a1\u30a4\u30eb\u304c\u4f5c\u6210\u3055\u308c\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\u251c\u2500sample_app\n\u2502  \u2502  admin.py\n\u2502  \u2502  apps.py\n\u2502  \u2502  models.py\n\u2502  \u2502  tests.py\n\u2502  \u2502  views.py\n\u2502  \u2502  __init__.py\n\u2502  \u2502\n\u2502  \u2514\u2500migrations\n\u2502          __init__.py<\/code><\/pre>\n\n\n\n<p>sample_app\u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306b\u767b\u9332\u3057\u307e\u3059\u3002<br>\u5185\u5074\u306esample_prj\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306b\u3042\u308bsettings.py\u3092\u958b\u304f\u3068\u3001INSTALLED_APPS\u306e\u8a18\u8ff0\u304c\u3042\u308a\u307e\u3059\u3002<br>\u3053\u3053\u306bsample_app\u306e\u9805\u76ee\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>INSTALLED_APPS = &#091;\n    'sample_app.apps.SampleAppConfig',\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]<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">\u753b\u9762\u9077\u79fb\uff08\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\uff09<\/h2>\n\n\n\n<p>\u30ea\u30af\u30a8\u30b9\u30c8URL\u3068\u5b9f\u884c\u3059\u308b\u51e6\u7406\u3092\u7d10\u4ed8\u3051\u308b\uff08\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3059\u308b\uff09\u306b\u306f\u3001urls.py\u3092\u7de8\u96c6\u3057\u307e\u3059\u3002<br>urls.py\u306f\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u8a2d\u5b9a\u3059\u308b\u3082\u306e\u3068\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u3059\u308b\u3082\u306e\u306e2\u3064\u304c\u5fc5\u8981\u3067\u3059\u3002<br>\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3067\u8a2d\u5b9a\u3059\u308burls.py\u306f\u3059\u3067\u306b\u81ea\u52d5\u751f\u6210\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u305d\u308c\u3092\u7de8\u96c6\u3057\u3001\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u8a2d\u5b9a\u3059\u308burls.py\u306f\u81ea\u52d5\u751f\u6210\u3055\u308c\u306a\u3044\u306e\u3067\u81ea\u5206\u3067\u4f5c\u6210\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u964d\u306f http:\/\/127.0.0.1:8000\/sample_app\/input \u3068\u3044\u3046URL\u306e\u30a2\u30af\u30bb\u30b9\u3092\u51e6\u7406\u3059\u308b\u30b3\u30fc\u30c9\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u307e\u305a\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306eurls.py\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3078\u8a98\u5c0e\u3059\u308b\u30b3\u30fc\u30c9\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<br>\u5143\u306e\u30b3\u30fc\u30c9\u306f\u4e0b\u8a18\u306e\u901a\u308a\u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.contrib import admin\nfrom django.urls import path\n\nurlpatterns = &#091;\n    path('admin\/', admin.site.urls),\n]\n<\/code><\/pre>\n\n\n\n<p>\u3053\u308c\u3092\u4e0b\u8a18\u306e\u3088\u3046\u306b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.contrib import admin\nfrom django.urls import include, path\n\nurlpatterns = &#091;\n    path('sample_app\/', include('sample_app.urls')),\n    path('admin\/', admin.site.urls),\n]\n<\/code><\/pre>\n\n\n\n<p>include\u306eimport\u3092\u8ffd\u52a0\u3057\u3001urlpatterns\u306bsample_app\u3078\u6765\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092\u5f8c\u8ff0\u3059\u308bsample_app.urls\u3078\u98db\u3070\u3059\u884c\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eurls.py\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>sample_app\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306burls.py\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30b3\u30fc\u30c9\u3092\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.urls import path\n\nfrom . import views\n\nurlpatterns = &#091;\n    path('input', views.input),\n]<\/code><\/pre>\n\n\n\n<p>input \u306b\u6765\u305f\u30ea\u30af\u30a8\u30b9\u30c8\u3092 views.input \u95a2\u6570\u306b\u98db\u3070\u3057\u3066\u3044\u307e\u3059\u306e\u3067\u3001sample_app\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306eviews.py\u3092\u4e0b\u8a18\u306e\u3088\u3046\u306b\u8a18\u8ff0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.http import HttpResponse\n\ndef input(request):\n    return HttpResponse(\"Hello world.\")<\/code><\/pre>\n\n\n\n<p>\u3053\u3053\u307e\u3067\u306e\u8a18\u8ff0\u304c\u3001http:\/\/127.0.0.1:8000\/sample_app\/input \u306e sample_app \u3092\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u306eurls.py\u304c\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3057\u3001input \u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eurls.py\u304c\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3057\u3001\u6700\u5f8c\u306b\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eviews.py\u304c &#8220;Hello world.&#8221; \u306e\u6587\u5b57\u5217\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u8fd4\u3059\u51e6\u7406\u3067\u3059\u3002<\/p>\n\n\n\n<p>python manage.py runserver \u3067\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3057\u3001\u30d6\u30e9\u30a6\u30b6\u3067 http:\/\/127.0.0.1:8000\/sample_app\/input \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308c\u3070\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/labs.opentone.co.jp\/wp-content\/uploads\/2018\/02\/03_hello_world.png\"><img decoding=\"async\" src=\"http:\/\/labs.opentone.co.jp\/wp-content\/uploads\/2018\/02\/03_hello_world.png\" alt=\"\" class=\"wp-image-6887\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8<\/h2>\n\n\n\n<p>\u5148\u7a0b\u306f &#8220;Hello world.&#8221; \u3068\u3044\u3046\u6587\u5b57\u5217\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u8fd4\u3057\u307e\u3057\u305f\u3002<br>\u3067\u3059\u304c\u8fd4\u3057\u305f\u3044\u306e\u306fHTML\u3067\u3059\u3002<br>HttpResponse()\u306bHTML\u3092\u8a18\u8ff0\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3059\u304c\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u306a\u308bHTML\u3092\u8aad\u307f\u8fbc\u307f\u305d\u308c\u3092\u30d6\u30e9\u30a6\u30b6\u306b\u8fd4\u5374\u3059\u308b\u306e\u304c\u4e00\u822c\u7684\u3067\u3059\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u305f\u3081\u306e\u5909\u66f4\u3092\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eviews.py\u306b\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.http import HttpResponse\nfrom django.template import loader\n\ndef input(request):\n    template = loader.get_template(\"sample_app\/input.html\")\n    return HttpResponse(template.render({}, request))<\/code><\/pre>\n\n\n\n<p>\u307e\u305aloader.get_template\u95a2\u6570\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306eHTML\u3092\u8aad\u307f\u8fbc\u307f\u307e\u3059\u3002<br>\u6b21\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u7f6e\u63db\u90e8\u5206\u3092\u51e6\u7406\u3059\u308b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u6e21\u3057\u307e\u3059\u304c\u3001\u4eca\u56de\u8868\u793a\u3059\u308b\u5165\u529b\u753b\u9762\u306f\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u5fc5\u8981\u3068\u3057\u306a\u3044\u306e\u3067\u3001\u7a7a\u306e\u914d\u5217\u3092\u6e21\u3057\u3066\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u7d9a\u3044\u3066\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u30d5\u30a1\u30a4\u30eb\u306f sample_app\/templates\/sample_app\/input.html \u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;html&gt;\n&lt;body&gt;\n    &lt;form method=\"post\" action=\"output\"&gt;\n        {% csrf_token %}\n        &lt;input type=\"text\" name=\"date\"&gt;\n        &lt;input type=\"submit\"&gt;\n    &lt;\/form&gt;\n&lt;\/body&gt;\n&lt;\/html&gt;<\/code><\/pre>\n\n\n\n<p>{% csrf_token %}\u306fCSRF\u5bfe\u7b56\u3067\u5165\u308c\u306a\u3044\u3068\u306a\u3089\u306a\u3044\u9805\u76ee\u3067\u3059\u3002<br>\u30c6\u30ad\u30b9\u30c8\u5165\u529b\u3068\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u305d\u308c\u305e\u308c\u3072\u3068\u3064\u914d\u7f6e\u3057\u305f\u30da\u30fc\u30b8\u3067\u3059\u3002<br>\u3053\u3053\u307e\u3067\u306e\u8a18\u8ff0\u3067\u3001http:\/\/127.0.0.1:8000\/sample_app\/input \u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3068\u3001\u4e0b\u8a18\u306e\u3088\u3046\u306a\u30da\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u308b\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"http:\/\/labs.opentone.co.jp\/wp-content\/uploads\/2018\/02\/04_input.png\"><img decoding=\"async\" src=\"http:\/\/labs.opentone.co.jp\/wp-content\/uploads\/2018\/02\/04_input-300x113.png\" alt=\"\" class=\"wp-image-6888\" \/><\/a><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">\u30d5\u30a9\u30fc\u30e0\u306e\u9001\u4fe1\u3068\u53d7\u4fe1<\/h2>\n\n\n\n<p>\u65e5\u4ed8\u306e\u5165\u529b\u30da\u30fc\u30b8\u304c\u51fa\u6765\u305f\u306e\u3067\u3001\u6b21\u306b\u5165\u529b\u30da\u30fc\u30b8\u306e\u9001\u4fe1\u5185\u5bb9\u3092\u53d7\u3051\u53d6\u3063\u3066\u66dc\u65e5\u3092\u8fd4\u5374\u3059\u308b\u51fa\u529b\u30da\u30fc\u30b8\u3092\u4f5c\u308a\u307e\u3059\u3002<br>\u307e\u305a\u306f\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u306eurls.py\u306b\u51fa\u529b\u30da\u30fc\u30b8\u306e\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3092\u8ffd\u8a18\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.urls import path\n\nfrom . import views\n\nurlpatterns = &#091;\n    path('input', views.input),\n    path('output', views.output),\n]<\/code><\/pre>\n\n\n\n<p>output\u306eURL\u3092views.output\u95a2\u6570\u306b\u30eb\u30fc\u30c6\u30a3\u30f3\u30b0\u3059\u308b\u3088\u3046\u8a18\u8ff0\u3057\u307e\u3057\u305f\u3002<br>\u7d9a\u3044\u3066sample_app\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u306eviews.py\u306bviews.output\u95a2\u6570\u3092\u8ffd\u52a0\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.http import HttpResponse\nfrom django.template import loader\nfrom datetime import datetime as dt\n\ndef input(request):\n    template = loader.get_template(\"sample_app\/input.html\")\n    return HttpResponse(template.render({}, request))\n\ndef output(request):\n    weekdays = &#091;\"\u6708\",\"\u706b\",\"\u6c34\",\"\u6728\",\"\u91d1\",\"\u571f\",\"\u65e5\"]\n    input_date = request.POST&#091;\"date\"]\n    date_value = dt.strptime(input_date, \"%Y-%m-%d\")\n    weekday_value = weekdays&#091;date_value.weekday()]\n\n    template = loader.get_template(\"sample_app\/output.html\")\n    context = {\n        \"input_date\": input_date,\n        \"weekday\": weekday_value,\n    }\n    return HttpResponse(template.render(context, request))\n<\/code><\/pre>\n\n\n\n<p>weekdays\u306f\u3042\u3068\u306b\u51fa\u3066\u304f\u308b\u65e5\u4ed8\u95a2\u6570weekday()\u306e\u5024\u306b\u5fdc\u3058\u305f\u65e5\u672c\u8a9e\u3092\u8fd4\u3059\u305f\u3081\u306e\u914d\u5217\u3067\u3059\u3002<br>input_date = request.POST[&#8220;date&#8221;]\u306fPOST\u3055\u308c\u305f\u6587\u5b57\u5217\u5024\u3092\u53d6\u5f97\u3057\u3066\u3044\u307e\u3059\u3002<br>date_value = dt.strptime(input_date, &#8220;%Y-%m-%d&#8221;)\u306fPOST\u3055\u308c\u305f\u6587\u5b57\u5217\u5024\u3092\u65e5\u4ed8\u578b\u306b\u5909\u63db\u3057\u307e\u3059\u3002&#8221;%Y-%m-%d&#8221;\u3068\u3042\u308b\u901a\u308a\u3001\u5e74\u6708\u65e5\u3092\u30cf\u30a4\u30d5\u30f3\u3067\u533a\u5207\u3063\u305f\u6587\u5b57\u5217\u3092\u60f3\u5b9a\u3057\u3066\u3044\u307e\u3059\u3002<br>weekday_value = weekdays[date_value.weekday()]\u306f\u65e5\u4ed8\u95a2\u6570weekday()\u306e\u5024\u306b\u5fdc\u3058\u305f\u65e5\u672c\u8a9e\u3092\u53d6\u5f97\u3057\u307e\u3059\u3002<br>\u3053\u3053\u307e\u3067\u306e\u7d50\u679c\u3092context\u306b\u8a70\u3081\u3066\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u6e21\u3057\u307e\u3059\u3002<br>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306einput_date\u3068weekday\u304c\u3053\u3053\u306e\u5024\u3067\u7f6e\u304d\u63db\u308f\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u6700\u5f8c\u306b\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3068\u306a\u308b\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<br>\u30d5\u30a1\u30a4\u30eb\u306f sample_app\/templates\/sample_app\/output.html \u3067\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&lt;html&gt;\n&lt;body&gt;\n    {{ input_date }}\u306f\u3001{{ weekday }}\u66dc\u65e5\u3067\u3059\u3002\n&lt;\/body&gt;\n&lt;\/html&gt;\n<\/code><\/pre>\n\n\n\n<p>\u5b9f\u884c\u3057\u3066\u307f\u307e\u3057\u3087\u3046\u3002<br>\u307e\u305a\u30d6\u30e9\u30a6\u30b6\u3067http:\/\/127.0.0.1:8000\/sample_app\/input \u306b\u30a2\u30af\u30bb\u30b9\u3057\u3001\u5165\u529b\u6b04\u306b\u300c2018-01-01\u300d\u3068\u5165\u514e\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"300\" height=\"109\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/05_input-300x109-1.png\" alt=\"\" class=\"wp-image-1247\" \/><\/figure>\n\n\n\n<p>\u9001\u4fe1\u30dc\u30bf\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3057\u3066\u51fa\u529b\u30da\u30fc\u30b8\u306b\u9077\u79fb\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"293\" height=\"96\" src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/06_output.png\" alt=\"\" class=\"wp-image-1248\" \/><\/figure>\n\n\n\n<p>\u3046\u307e\u304f\u52d5\u4f5c\u3057\u305f\u3068\u601d\u3044\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u3044\u304b\u304c\u3067\u3057\u3087\u3046\u304b\uff1f<br>Django\u3092\u8a66\u3057\u3066\u307f\u305f\u304f\u306a\u308a\u307e\u3057\u305f\u304b\uff1f<\/p>\n<div class=\"opent-_2\" style=\"margin-top: 10px;margin-right: 10px;margin-bottom: 10px;margin-left: 10px;\" id=\"opent-1133129182\"><a href=\"https:\/\/www.opentone.co.jp\/backlog\/\" aria-label=\"twitter_backlogskt_new\"><img src=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg\" alt=\"\"  srcset=\"https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new.jpg 1024w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-300x157.jpg 300w, https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2023\/02\/twitter_backlogskt_new-768x401.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" width=\"384\" height=\"200\"   \/><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>\u3053\u3093\u306b\u3061\u306f\u3001W.N\u3067\u3059\u3002\u5165\u793e\u5f8c\u521d\u306e\u672c\u30d6\u30ed\u30b0\u30d8\u306e\u6295\u7a3f\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u3082\u672b\u6c38\u304f\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u6628\u4eca<\/p>\n","protected":false},"author":1,"featured_media":1246,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[28],"tags":[21],"class_list":["post-1244","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-web-system","tag-column",""],"acf":[],"aioseo_notices":[],"uagb_featured_image_src":{"full":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"thumbnail":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1-150x150.png",150,150,true],"medium":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"medium_large":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"large":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"1536x1536":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"2048x2048":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"engage-mag-carousel-img":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"engage-mag-carousel-img-landscape":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1-300x225.png",300,225,true],"engage-mag-carousel-large-img":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"engage-mag-carousel-large-img-landscape":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"engage-mag-large-thumb":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1.png",300,231,false],"engage-mag-small-thumb":["https:\/\/www.opentone.co.jp\/ot-lab\/wp-content\/uploads\/sites\/11\/2021\/03\/01_sample-300x231-1-300x220.png",300,220,true]},"uagb_author_info":{"display_name":"ah106rx4o4","author_link":"https:\/\/www.opentone.co.jp\/ot-lab\/author\/ah106rx4o4"},"uagb_comment_info":0,"uagb_excerpt":"\u3053\u3093\u306b\u3061\u306f\u3001W.N\u3067\u3059\u3002\u5165\u793e\u5f8c\u521d\u306e\u672c\u30d6\u30ed\u30b0\u30d8\u306e\u6295\u7a3f\u3067\u3059\u3002\u3053\u308c\u304b\u3089\u3082\u672b\u6c38\u304f\u3088\u308d\u3057\u304f\u304a\u9858\u3044\u3057\u307e\u3059\u3002 \u6628\u4eca","_links":{"self":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/1244","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/comments?post=1244"}],"version-history":[{"count":1,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/1244\/revisions"}],"predecessor-version":[{"id":1249,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/posts\/1244\/revisions\/1249"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/media\/1246"}],"wp:attachment":[{"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/media?parent=1244"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/categories?post=1244"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.opentone.co.jp\/ot-lab\/wp-json\/wp\/v2\/tags?post=1244"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}