{"id":122,"date":"2022-03-19T22:38:46","date_gmt":"2022-03-19T13:38:46","guid":{"rendered":"http:\/\/192.168.0.16:3005\/?p=122"},"modified":"2022-03-19T22:38:47","modified_gmt":"2022-03-19T13:38:47","slug":"%e3%82%bc%e3%83%ad%e3%81%8b%e3%82%89linuxfedora%e3%81%a7python-django%e3%81%ae%e5%ae%9f%e8%a1%8c%e3%83%bb%e9%96%8b%e7%99%ba%e7%92%b0%e5%a2%83%e3%82%92%e4%bd%9c%e3%82%8b2-of-2","status":"publish","type":"post","link":"https:\/\/blog.solong.jp\/?p=122","title":{"rendered":"\u30bc\u30ed\u304b\u3089Linux(Fedora)\u3067python django\u306e\u5b9f\u884c\u30fb\u958b\u767a\u74b0\u5883\u3092\u4f5c\u308b(2 of 2)"},"content":{"rendered":"\n<p>\u624b\u9806\u306e\u30e1\u30e2\u304c\u307b\u3068\u3093\u3069\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u30fb\u30fb\u30fb\u3002\u7d50\u5c40 1 of 1\u306e\u3042\u3068\u306b\u306f\u3001VS Code\u306b\u9069\u5f53\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092Github\u306b\u8f09\u305b\u305f\u308a\u3068\u304b\u3092\u3054\u306b\u3087\u3054\u306b\u3087\u3084\u3063\u305f\u3002<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">CSS\u306f\u3042\u308a\u3082\u306e\u3092\u3067\u304d\u308b\u3060\u3051\u4f7f\u3046<\/h2>\n\n\n\n<p>\u9069\u5f53\u306a\u7df4\u7fd2\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u306b\u3082HTML\u3068CSS\u304c\u3044\u308b\u306e\u3060\u304c\u3001CSS\u3092\u7d30\u3005\u66f8\u304f\u306e\u306a\u3093\u3066\u3081\u3093\u3069\u304f\u3055\u3044\u3002\u8d85\u304b\u3093\u305f\u3093\u306b\u3042\u308b\u7a0b\u5ea6\u306e\u898b\u6804\u3048\u306b\u306a\u308b\u9069\u5f53\u306aCSS\u306e\u30b5\u30f3\u30d7\u30eb\u3068\u304b\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u306a\u306b\u304b\u306a\u3044\u3082\u306e\u304b\u3068Web\u3092\u6f01\u3063\u3066\u307f\u305f\u3051\u3069\u610f\u5916\u3068\u306a\u3044\u3002\u304b\u3063\u3061\u3087\u3044\u3044\u4f01\u696d\u30b5\u30a4\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u307f\u305f\u3044\u306a\u3084\u305f\u3089\u3068\u30ea\u30c3\u30c1\u306a\u3084\u3064\u3057\u304b\u51fa\u3066\u6765\u306a\u304f\u3066\u3001\uff12\u30ab\u30e9\u30e0\u306e\u3055\u3063\u3071\u308a\u3057\u305f\u898b\u305f\u76ee\u3067\u3001\u306a\u3093\u3068\u306a\u304fHeading\u3068\u304b\u30c6\u30fc\u30d6\u30eb\u3068\u304b\u30ea\u30b9\u30c8\u3068\u304b\u304c\u304d\u308c\u3044\u306b\u306a\u308b\u3088\u3046\u306aCSS\u306f\u306a\u3044\u306e\u304b\u306a\u3063\u3066\u63a2\u3057\u3066\u307f\u305f\u3051\u3069\u3044\u3044\u306e\u304c\u306a\u3044\u3002CSS\u304c\u8abf\u3079\u306a\u304c\u3089\u66f8\u3044\u305f\u308a\u3068\u304b\u3001\u3067\u304d\u306a\u3044\u308f\u3051\u3058\u3083\u306a\u3044\u3051\u3069\u305d\u308c\u306b\u6975\u529b\u6642\u9593\u3092\u4f7f\u3044\u305f\u304f\u306a\u3044\u306e\u3067\u3042\u308b\u3002<\/p>\n\n\n\n<p>\u7d50\u5c40Pure.css\u3068\u3044\u3046\u3082\u306e\u3060\u3051\u306f\u3068\u308a\u3042\u3048\u305a\u5165\u308c\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002<\/p>\n\n\n\n<p><a href=\"https:\/\/purecss.io\/\">https:\/\/purecss.io\/<\/a><\/p>\n\n\n\n<h2 class=\"wp-block-heading\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u3092\u6d3b\u7528\u3059\u308b<\/h2>\n\n\n\n<p>\u30a2\u30d7\u30ea\u306e\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306btemplates\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u3092\u6398\u308b\u3002\u305d\u3053\u306blayout.html\u3068index.html\u3092\u7f6e\u304f<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;layout.html]\n{% load static %}\n&lt;!DOCTYPE html>\n&lt;html>\n  &lt;head>\n    &lt;meta charset=\"utf-8\" \/>\n    &lt;meta name=\"viewport\" content=\"width=device-width, initial-scale=1\" \/>\n    &lt;title>TQuest1&lt;\/title>\n    &lt;link\n      rel=\"stylesheet\"\n      href=\"{% static 'tq1a\/bootstrap.css' %}\"\n      type=\"text\/css\"\n      media=\"screen\"\n    \/>\n    &lt;link\n      rel=\"stylesheet\"\n      href=\"{% static 'tq1a\/style.css' %}\"\n      type=\"text\/css\"\n      media=\"screen\"\n    \/>\n    &lt;!--&#91;if lte IE 8]>\n      &lt;link rel=\"stylesheet\" href=\"menuie.css\" type=\"text\/css\" media=\"screen\" \/>\n      &lt;link\n        rel=\"stylesheet\"\n        href=\"vmenuie.css\"\n        type=\"text\/css\"\n        media=\"screen\"\n      \/>\n    &lt;!&#91;endif]-->\n    &lt;!--&#91;if IE 7]>\n      &lt;style type=\"text\/css\" media=\"screen\">\n        #ttr_vmenu_items li.ttr_vmenu_items_parent {\n          margin-left: -16px;\n          font-size: 0px;\n        }\n      &lt;\/style>\n    &lt;!&#91;endif]-->\n    &lt;!--&#91;if lt IE 9]>\n      &lt;script type=\"text\/javascript\" src=\"html5shiv.js\">&lt;\/script>\n      &lt;script type=\"text\/javascript\" src=\"respond.min.js\">&lt;\/script>\n    &lt;!&#91;endif]-->\n  &lt;\/head>\n  &lt;body>\n    &lt;div id=\"container\">\n      {% block content %}\n      &lt;p>\u89aa&lt;\/p>\n      {% endblock %}\n    &lt;\/div>\n  &lt;\/body>\n&lt;\/html>\n<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>&#91;index.html]\n{% extends 'tq1a\/layout.html' %}\n\n{% block content %}\n\n&lt;h1>&lt;a>\u3066\u304d\u3068\u3046\u306a\u30af\u30a8\u30b9\u30c8&lt;\/a>&lt;\/h1>\n\n&lt;h2>\u3053\u3093\u306b\u3061\u306f&lt;\/h2>\n&lt;p>\u73fe\u5728\u306e\u6642\u523b\uff1a X\u6708X\u65e5 23:45&lt;\/p>\n&lt;p>\u73fe\u5728\u306e\u304a\u91d1\uff1a 1234G&lt;\/p>\n&lt;p class=\"index_message\">{{ message }}&lt;\/p>\n\n&lt;h2>\u30e1\u30cb\u30e5\u30fc&lt;\/h2>\n&lt;div class=\"pure-g\">\n  &lt;div class=\"pure-u-1-3\">&lt;a href=\"{% url 'newt' %}\">\u65b0\u3057\u3044\u624b\u4e0b&lt;\/a>&lt;\/div>\n  &lt;div class=\"pure-u-1-3\">\u72e9\u308a\u306b\u884c\u304f&lt;\/div>\n  &lt;div class=\"pure-u-1-3\">\u30d0\u30c8\u30eb\u3059\u308b&lt;\/div>\n&lt;\/div>\n\n&lt;h2>\u304a\u77e5\u3089\u305b&lt;\/h2>\n&lt;p>\u3042\u308a\u307e\u305b\u3093&lt;\/p>\n\n\n&lt;p>{{t.name}}&lt;\/p>\n\n&lt;h2>\u624b\u4e0b\u305f\u3061&lt;\/h2>\n&lt;div class=\"pure-g myuni\">\n{% for t in teshita %}\n  &lt;div class=\"pure-u-1 myuni-one\">\n    &lt;p>{{t.name}} (Lv:{{t.level}})&lt;\/p>\n    &lt;div class=\"pure-g\">\n      &lt;div class=\"pure-u-1-3\">max hp&lt;\/div>\n      &lt;div class=\"pure-u-1-6\">{{t.maxhp}}&lt;\/div>\n      &lt;div class=\"pure-u-1-3\">hp&lt;\/div>\n      &lt;div class=\"pure-u-1-6\">{{t.hp}}&lt;\/div>\n    &lt;\/div>\n    &lt;div class=\"pure-g\">\n      &lt;div class=\"pure-u-1-3\">\u3053\u3046\u3052\u304d&lt;\/div>\n      &lt;div class=\"pure-u-1-6\">{{t.kougeki}}&lt;\/div>\n      &lt;div class=\"pure-u-1-3\">\u305f\u3044\u308a\u3087\u304f&lt;\/div>\n      &lt;div class=\"pure-u-1-6\">{{t.tairyoku}}&lt;\/div>\n    &lt;\/div>\n  &lt;\/div>\n{% endfor %}\n&lt;\/div>\n{% endblock %}\n<\/code><\/pre>\n\n\n\n<p>\u9069\u5f53\u306a\u30b2\u30fc\u30e0\u3092\u4f5c\u308d\u3046\u3068\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u3053\u3093\u306a\u3068\u3053\u308d\u304f\u3089\u3044\u307e\u3067\u304d\u305f\u3002<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"http:\/\/192.168.0.16:3005\/wp-content\/uploads\/2022\/03\/Screenshot-from-2022-03-19-22-30-56-1024x858.png\" alt=\"\" class=\"wp-image-123\"\/><\/figure>\n\n\n\n<p>\u624b\u4e0b\u3092\u4f5c\u3063\u3066\u3001\u6575\u3092\u72e9\u3063\u305f\u3089\u30ec\u30d9\u30eb\u304c\u4e0a\u304c\u308b\u3088\u3046\u306a\u3068\u3053\u308d\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u3001\u540d\u524d\u3092\u3064\u3051\u305f\u3089\u540d\u524d\u306b\u3088\u3063\u3066\u30e9\u30f3\u30c0\u30e0\u306a\u5f37\u3055\u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u624b\u9806\u306e\u30e1\u30e2\u304c\u307b\u3068\u3093\u3069\u3067\u304d\u3066\u3044\u306a\u304b\u3063\u305f\u30fb\u30fb\u30fb\u3002\u7d50\u5c40 1 of 1\u306e\u3042\u3068\u306b\u306f\u3001VS Code\u306b\u9069\u5f53\u306b\u30d7\u30e9\u30b0\u30a4\u30f3\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3057\u305f\u308a\u30bd\u30fc\u30b9\u30b3\u30fc\u30c9\u3092Github\u306b\u8f09\u305b\u305f\u308a\u3068\u304b\u3092\u3054\u306b\u3087\u3054\u306b\u3087\u3084\u3063\u305f\u3002 CSS\u306f\u3042\u308a\u3082\u306e\u3092\u3067\u304d\u308b\u3060\u3051\u4f7f\u3046 \u9069\u5f53\u306a\u7df4\u7fd2\u30a2\u30d7\u30ea\u3092\u4f5c\u308b\u306b\u3082HTML\u3068CSS\u304c\u3044\u308b\u306e\u3060\u304c\u3001CSS\u3092\u7d30\u3005\u66f8\u304f\u306e\u306a\u3093\u3066\u3081\u3093\u3069\u304f\u3055\u3044\u3002\u8d85\u304b\u3093\u305f\u3093\u306b\u3042\u308b\u7a0b\u5ea6\u306e\u898b\u6804\u3048\u306b\u306a\u308b\u9069\u5f53\u306aCSS\u306e\u30b5\u30f3\u30d7\u30eb\u3068\u304b\u30e9\u30a4\u30d6\u30e9\u30ea\u306f\u306a\u306b\u304b\u306a\u3044\u3082\u306e\u304b\u3068Web\u3092\u6f01\u3063\u3066\u307f\u305f\u3051\u3069\u610f\u5916\u3068\u306a\u3044\u3002\u304b\u3063\u3061\u3087\u3044\u3044\u4f01\u696d\u30b5\u30a4\u30c8\u306e\u30b5\u30f3\u30d7\u30eb\u307f\u305f\u3044\u306a\u3084\u305f\u3089\u3068\u30ea\u30c3\u30c1\u306a\u3084\u3064\u3057\u304b\u51fa\u3066\u6765\u306a\u304f\u3066\u3001\uff12\u30ab\u30e9\u30e0\u306e\u3055\u3063\u3071\u308a\u3057\u305f\u898b\u305f\u76ee\u3067\u3001\u306a\u3093\u3068\u306a\u304fHeading\u3068\u304b\u30c6\u30fc\u30d6\u30eb\u3068\u304b\u30ea\u30b9\u30c8\u3068\u304b\u304c\u304d\u308c\u3044\u306b\u306a\u308b\u3088\u3046\u306aCSS\u306f\u306a\u3044\u306e\u304b\u306a\u3063\u3066\u63a2\u3057\u3066\u307f\u305f\u3051\u3069\u3044\u3044\u306e\u304c\u306a\u3044\u3002CSS\u304c\u8abf\u3079\u306a\u304c\u3089\u66f8\u3044\u305f\u308a\u3068\u304b\u3001\u3067\u304d\u306a\u3044\u308f\u3051\u3058\u3083\u306a\u3044\u3051\u3069\u305d\u308c\u306b\u6975\u529b\u6642\u9593\u3092\u4f7f\u3044\u305f\u304f\u306a\u3044\u306e\u3067\u3042\u308b\u3002 \u7d50\u5c40Pure.css\u3068\u3044\u3046\u3082\u306e\u3060\u3051\u306f\u3068\u308a\u3042\u3048\u305a\u5165\u308c\u3066\u307f\u308b\u3053\u3068\u306b\u3057\u305f\u3002 https:\/\/purecss.io\/ \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u30a8\u30f3\u30b8\u30f3\u3092\u6d3b\u7528\u3059\u308b \u30a2\u30d7\u30ea\u306e\u30d5\u30a9\u30eb\u30c0\u306e\u4e0b\u306btemplates\u3068\u3044\u3046\u30d5\u30a9\u30eb\u30c0\u3092\u6398\u308b\u3002\u305d\u3053\u306blayout.html\u3068index.html\u3092\u7f6e\u304f \u9069\u5f53\u306a\u30b2\u30fc\u30e0\u3092\u4f5c\u308d\u3046\u3068\u3057\u3066\u3044\u305f\u306e\u3067\u3001\u3053\u3093\u306a\u3068\u3053\u308d\u304f\u3089\u3044\u307e\u3067\u304d\u305f\u3002 \u624b\u4e0b\u3092\u4f5c\u3063\u3066\u3001\u6575\u3092\u72e9\u3063\u305f\u3089\u30ec\u30d9\u30eb\u304c\u4e0a\u304c\u308b\u3088\u3046\u306a\u3068\u3053\u308d\u3092\u4f5c\u3063\u3066\u307f\u3088\u3046\u304b\u3068\u601d\u3063\u3066\u3001\u540d\u524d\u3092\u3064\u3051\u305f\u3089\u540d\u524d\u306b\u3088\u3063\u3066\u30e9\u30f3\u30c0\u30e0\u306a\u5f37\u3055\u304c\u8a2d\u5b9a\u3055\u308c\u308b\u3088\u3046\u306b\u3057\u3066\u307f\u305f\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-122","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.solong.jp\/index.php?rest_route=\/wp\/v2\/posts\/122","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.solong.jp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.solong.jp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.solong.jp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.solong.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=122"}],"version-history":[{"count":1,"href":"https:\/\/blog.solong.jp\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions"}],"predecessor-version":[{"id":124,"href":"https:\/\/blog.solong.jp\/index.php?rest_route=\/wp\/v2\/posts\/122\/revisions\/124"}],"wp:attachment":[{"href":"https:\/\/blog.solong.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=122"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.solong.jp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=122"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.solong.jp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=122"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}