{"image_url":null,"description":"Blueprint\u3092\u4f7f\u3046 divided_app.py app.py \u30d5\u30a1\u30a4\u30eb\u30fb\u30c7\u30a3\u30ec\u30af\u30c8\u30ea\u69cb\u6210 \u30d7\u30ed\u30c8\u30bf\u30a4\u30d4\u30f3\u30b0 Blueprint\u3092\u4f7f\u3046 app.py\u306e\u6a5f\u80fd\u306e\u4e00\u90e8\u3092 divided_app.py\u306b\u79fb\u3057\u305f\u3044\u3068\u60f3\u5b9a\u3057\u3066\u307e\u3059\u3002 divided_app.py sample = Blueprint('sample', __name__, template_folder='templates') @sample.route('/hoge') def hoge(): return render_template('templates/hoge.html') app.py from divided_app\u2026","url":"https://paper.hatenadiary.jp/entry/2018/08/05/143645","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fpaper.hatenadiary.jp%2Fentry%2F2018%2F08%2F05%2F143645\" title=\"Flask\u306eapp.py\u3092\u3044\u304f\u3064\u304b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u5272\u3059\u308b - \u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","title":"Flask\u306eapp.py\u3092\u3044\u304f\u3064\u304b\u306e\u30d5\u30a1\u30a4\u30eb\u306b\u5206\u5272\u3059\u308b","provider_url":"https://hatena.blog","type":"rich","width":"100%","published":"2018-08-05 14:36:45","categories":["python"],"height":"190","blog_url":"https://paper.hatenadiary.jp/","author_url":"https://blog.hatena.ne.jp/misos/","blog_title":"\u3081\u3082","version":"1.0","provider_name":"Hatena Blog","author_name":"misos"}