{"id":11,"date":"2020-12-21T20:48:46","date_gmt":"2020-12-21T11:48:46","guid":{"rendered":"https:\/\/www.watoaru.com\/tech\/wptech\/?p=11"},"modified":"2023-01-22T18:17:05","modified_gmt":"2023-01-22T09:17:05","slug":"pythonista3%e3%81%a7django3%e3%82%92%e5%8b%95%e3%81%8b%e3%81%99","status":"publish","type":"post","link":"https:\/\/www.watoaru.com\/tech\/archives\/11","title":{"rendered":"Pythonista3\u3067Django3\u3092\u52d5\u304b\u3059"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">\u306f\u3058\u3081\u306b<\/h2>\n\n\n\n<p>iPad Pro\u3092\u8cfc\u5165\u3057\u307e\u3057\u305f\u3002\u4eca\u307e\u3067Windows\uff0beclipse\u3067\u4f7f\u3063\u3066\u3044\u305fDjango\u3092\u3001iPad\u3067\u3082\u3084\u308a\u305f\u3044\uff01\u3068\u601d\u3044\u7acb\u3061\u3001\u5b9f\u65bd\u3057\u3066\u307f\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<p>\u305d\u306e\u5fd8\u5099\u9332\u3067\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pythonista3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9<\/h2>\n\n\n\n<p>App  Store\u306b\u3066\u3001Pythonista3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u307e\u3059\u30021,220\u5186(2020\/9\/13\u73fe\u5728)\u3067\u3059\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/apps.apple.com\/us\/app\/pythonista-3\/id1085978097?mt=8\">https:\/\/apps.apple.com\/us\/app\/pythonista-3\/id1085978097?mt=8<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Pythonista3\u306bStaSh\u3092\u5c0e\u5165\u3059\u308b<\/h2>\n\n\n\n<p>StaSh\u5c0e\u5165\u306e\u305f\u3081\uff0cPythonista3\u3067\u9069\u5f53\u306b\u65b0\u3057\u3044\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u3092\u4f5c\u308a\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"727\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_205933-1024x727.png\" alt=\"\" class=\"wp-image-58\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_205933-1024x727.png 1024w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_205933-300x213.png 300w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_205933-768x545.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_205933-1536x1090.png 1536w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_205933-2048x1454.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"909\" height=\"1024\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210125-909x1024.png\" alt=\"\" class=\"wp-image-59\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210125-909x1024.png 909w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210125-266x300.png 266w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210125-768x865.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210125.png 1145w\" sizes=\"(max-width: 909px) 100vw, 909px\" \/><\/figure>\n\n\n\n<p>\u9069\u5f53\u306a\u30d5\u30a1\u30a4\u30eb\u540d\u3092\u5165\u529b\u3057\u3066\u3001\u300cCreate\u300d\u3092\u9078\u629e\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"906\" height=\"1024\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210252-906x1024.png\" alt=\"\" class=\"wp-image-60\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210252-906x1024.png 906w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210252-266x300.png 266w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210252-768x868.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210252.png 1157w\" sizes=\"(max-width: 906px) 100vw, 906px\" \/><\/figure>\n\n\n\n<p>\u4f5c\u6210\u3057\u305f\u7a7a\u306e\u30b9\u30af\u30ea\u30d7\u30c8\u30d5\u30a1\u30a4\u30eb\u306b\u3001\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3001\u25b7\u306b\u3066\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>import requests as r; exec(r.get('http:\/\/bit.ly\/get-stash').text)<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"83\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210855-1024x83.png\" alt=\"\" class=\"wp-image-61\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210855-1024x83.png 1024w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210855-300x24.png 300w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210855-768x62.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210855-1536x124.png 1536w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_210855-2048x166.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"115\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_211006-1024x115.png\" alt=\"\" class=\"wp-image-62\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_211006-1024x115.png 1024w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_211006-300x34.png 300w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_211006-768x87.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_211006-1536x173.png 1536w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_211006-2048x231.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u3053\u308c\u3067StaSh\u304c\u5c0e\u5165\u3067\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">StaSh\u3092\u4f7f\u3063\u3066Django\u3092pip\u3067\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b<\/h2>\n\n\n\n<p>SCRIPT LIBRARY\u5185\u306eThis iPad\u306e\u300claunch_stash.py\u300d\u3092\u25b7\u3067\u5b9f\u884c\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3001Django\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u306e\u30b3\u30de\u30f3\u30c9\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"137\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_214248-1024x137.png\" alt=\"\" class=\"wp-image-63\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_214248-1024x137.png 1024w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_214248-300x40.png 300w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_214248-768x103.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_214248-1536x206.png 1536w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_214248-2048x274.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u306a\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install Django<\/code><\/pre>\n\n\n\n<p>\u30d0\u30fc\u30b8\u30e7\u30f3\u3092\u6307\u5b9a\u3057\u305f\u3044\u5834\u5408\u306f\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b==\u30d0\u30fc\u30b8\u30e7\u30f3\u3067\u6307\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install Django==3.0.7<\/code><\/pre>\n\n\n\n<p>\u3053\u3053\u3067\u306f\u3001\u4e0a\u8a18\uff08\u30d0\u30fc\u30b8\u30e7\u30f33.0.7\uff09\u3067\u52d5\u4f5c\u3092\u78ba\u8a8d\u3057\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Django\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u4f5c\u6210\u3059\u308b<\/h2>\n\n\n\n<p>StaSh\u306b\u3066\u3001\u4efb\u610f\u306e\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\uff08\u3053\u3053\u3067\u306fsample_project\uff09\u3067\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>django-admin.py startproject sample_project<\/code><\/pre>\n\n\n\n<p>\u4f5c\u6210\u5f8c\u3001\u4e00\u5ea6Pythonista3\u3092\u9589\u3058\u3066\u3001\u518d\u5ea6\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u958b\u767a\u7528\u30b5\u30fc\u30d0\u30fc\u3092\u8d77\u52d5\u3059\u308b<\/h2>\n\n\n\n<p>SCRIPT LIBRARY\u5185\u306eThis iPad\u5185\u306b\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u540d\u306e\u30d5\u30a9\u30eb\u30c0\u304c\u4f5c\u6210\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u3001\u305d\u306e\u4e2d\u306e\u300cmanage.py\u300d\u3092\u958b\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p>\u25b7\u3092\u9577\u62bc\u3057\u3057\u3066\u3001\u4ee5\u4e0b\u3092\u5165\u529b\u3057\u3066\u300cRun\u300d\u3092\u62bc\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>runserver \u2014-noreload<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"362\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224008-1024x362.png\" alt=\"\" class=\"wp-image-65\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224008-1024x362.png 1024w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224008-300x106.png 300w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224008-768x272.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224008-1536x543.png 1536w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224008-2048x724.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u753b\u9762\u304c\u51fa\u305f\u3089\u6210\u529f\u3067\u3059\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"174\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224215-1024x174.png\" alt=\"\" class=\"wp-image-66\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224215-1024x174.png 1024w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224215-300x51.png 300w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224215-768x130.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224215-1536x261.png 1536w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_224215-2048x348.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u305f\u5834\u5408\u3001\u2014noreload\u306e\u5165\u529b\u304c\u8aa4\u3063\u3066\u3044\u308b\u53ef\u80fd\u6027\u304c\u3042\u308a\u307e\u3059\u3002\uff08-\u3092\u666e\u901a\u306b\u5165\u529b\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3067\u304d\u305a\u3001-x-noreload\u3092\u5165\u529b\u3057\u3066x\u3092\u6d88\u3059\u3068\u3046\u307e\u304f\u3044\u304d\u307e\u3057\u305f\uff09<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>CommandError: \"\u2014-noreload\" is not a valid port number or address:port pair.<\/code><\/pre>\n\n\n\n<p>\u4ee5\u4e0b\u306b\u30d6\u30e9\u30a6\u30b6\u3067\u30a2\u30af\u30bb\u30b9\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>http:&#47;&#47;127.0.0.1:8000\/<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" width=\"1024\" height=\"705\" src=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_220703-1024x705.png\" alt=\"\" class=\"wp-image-64\" srcset=\"https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_220703-1024x705.png 1024w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_220703-300x207.png 300w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_220703-768x529.png 768w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_220703-1536x1058.png 1536w, https:\/\/www.watoaru.com\/tech\/wptech\/wp-content\/uploads\/2023\/01\/2020-09-13_220703-2048x1411.png 2048w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>\u52d5\u304d\u307e\u3057\u305f\uff01<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u53c2\u8003<\/h2>\n\n\n\n<p>\u4ee5\u4e0b\u30b5\u30a4\u30c8\u3092\u53c2\u8003\u306b\u3055\u305b\u3066\u3044\u305f\u3060\u304d\u307e\u3057\u305f\u3002<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/qiita.com\/cocolo1214\/items\/c2f5115f80bd0af3a11d\" data-type=\"URL\" data-id=\"https:\/\/qiita.com\/cocolo1214\/items\/c2f5115f80bd0af3a11d\">https:\/\/qiita.com\/cocolo1214\/items\/c2f5115f80bd0af3a11d<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/qiita.com\/maboy\/items\/cef5dee13d5b2e9ac843\" data-type=\"URL\" data-id=\"https:\/\/qiita.com\/maboy\/items\/cef5dee13d5b2e9ac843\">https:\/\/qiita.com\/maboy\/items\/cef5dee13d5b2e9ac843<\/a><\/li>\n<\/ul>\n\n\n\n\n","protected":false},"excerpt":{"rendered":"<p>\u306f\u3058\u3081\u306b iPad Pro\u3092\u8cfc\u5165\u3057\u307e\u3057\u305f\u3002\u4eca\u307e\u3067Windows\uff0beclipse\u3067\u4f7f\u3063\u3066\u3044\u305fDjango\u3092\u3001iPad\u3067\u3082\u3084\u308a\u305f\u3044\uff01\u3068\u601d\u3044\u7acb\u3061\u3001\u5b9f\u65bd\u3057\u3066\u307f\u307e\u3057\u305f\u3002 \u305d\u306e\u5fd8\u5099\u9332\u3067\u3059\u3002 Pythonista3\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9 Ap [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":35,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"swell_btn_cv_data":"","footnotes":""},"categories":[6],"tags":[3,4,2,5],"class_list":["post-11","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-django","tag-django","tag-ipad","tag-pythonista3","tag-stash"],"_links":{"self":[{"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/posts\/11","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/comments?post=11"}],"version-history":[{"count":2,"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/posts\/11\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/posts\/11\/revisions\/68"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/media\/35"}],"wp:attachment":[{"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/media?parent=11"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/categories?post=11"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.watoaru.com\/tech\/wp-json\/wp\/v2\/tags?post=11"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}