{"id":2448,"date":"2020-12-20T14:23:45","date_gmt":"2020-12-20T05:23:45","guid":{"rendered":"https:\/\/www.nblog09.com\/w\/?p=2448"},"modified":"2022-01-18T16:37:22","modified_gmt":"2022-01-18T07:37:22","slug":"flask-filter","status":"publish","type":"post","link":"https:\/\/www.nblog09.com\/w\/2020\/12\/20\/flask-filter\/","title":{"rendered":"Flask\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u6a5f\u80fd\u306e\u5229\u7528\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u4e00\u89a7"},"content":{"rendered":"<p>Flask\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308b\u3002<br \/>\n\u30d5\u30a3\u30eb\u30bf\u30fc\u3068\u3044\u3046\u306e\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e0a\u3067\u5024\u3092\u5909\u63db\u3057\u305f\u3044\u5834\u5408\u306b\u7528\u3044\u3089\u308c\u308b\u3002<br \/>\n\u4e0b\u8a18\u306b\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u4f7f\u3044\u65b9\u30fb\u5b9f\u88c5\u65b9\u6cd5\u3068\u30d5\u30a3\u30eb\u30bf\u30fc\u4e00\u89a7\u3092\u8a18\u8f09\u3059\u308b<\/p>\n<h2 class=\"title-border\"><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u5b9f\u88c5\u65b9\u6cd5<\/strong><\/h2>\n<p>\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u5229\u7528\u3059\u308b\u306b\u306f\u3001\uff12\u901a\u308a\u306e\u65b9\u6cd5\u304c\u3042\u308b\u3002<br \/>\n\u6587\u5168\u4f53\u306b\u5bfe\u3057\u3066\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3059\u308b\u5834\u5408\u306b\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u3059\u308b\u3002<br \/>\n\u4ee5\u4e0b\u306e\u5834\u5408\u3001filter ~ endfilter\u306b\u8a18\u8ff0\u3057\u305f\u5185\u5bb9\u306b\u305f\u3044\u3057\u3066\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u9069\u7528\u3055\u308c\u308b\u3002<\/p>\n<div class=\"emphasis-box\">\n<p style='color:red;'>\n{% filter \u30d5\u30a3\u30eb\u30bf\u30fc\u540d %}<br \/>\n:<br \/>\n{% endfilter %}\n<\/p>\n<\/div>\n<p>&nbsp;<br \/>\n\u307e\u305f\u3001\u7279\u5b9a\u306e\u5909\u6570\u306b\u5bfe\u3057\u3066\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u884c\u3046\u5834\u5408\u306b\u306f\u3001\u5909\u6570\u540d\u306b|(\u30d1\u30a4\u30d7)\u3092\u4ed8\u3051\u3066\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3059\u308b\u3002<\/p>\n<div class=\"emphasis-box\">\n<p style='color:red;'>\n{{ \u5909\u6570\u540d | \u30d5\u30a3\u30eb\u30bf\u30fc\u540d }}\n<\/p>\n<\/div>\n<p>\u4ee5\u4e0b\u306b\u5177\u4f53\u4f8b\u3092\u8aac\u660e\u3057\u305f\u3044\u3002\u3053\u3053\u3067\u306f\u3001\u5c0f\u6587\u5b57\u3092\u5927\u6587\u5b57\u306b\u3059\u308b\u30d5\u30a3\u30eb\u30bf\u30fcupper\u3092\u5229\u7528\u3059\u308b\u3002<\/p>\n<div class=\"programming-gray\">\n<h4>Example<\/h4>\n<ul>\n<li><strong>\u30d3\u30e5\u30fc\u3067\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306b\u5024\u3092\u6e21\u3059(view.py)<\/strong><\/li>\n<\/ul>\n<div class=\"programming-inside\">\nfrom flask import Flask, render_template<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route('\/')<br \/>\ndef index():<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;name = 'taro' <storng> # name\u3068\u3044\u3046\u5909\u6570\u306btaro\u3092\u5c0f\u6587\u5b57\u3067\u5165\u308c\u308b<\/strong><br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;return render_template('index.html', name=name)<\/p>\n<p>if __name__ == '__main__':<br \/>\n&nbsp;&nbsp;&nbsp;&nbsp;app.run(debug=True)\n<\/p><\/div>\n<p>&nbsp;<\/p>\n<ul>\n<li><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5b9f\u88c5(index.html)<\/strong><\/li>\n<\/ul>\n<p>\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u3001filter\uff5eendfilter\u306e\u9593\u3001\u306e\u3059\u3079\u3066\u306e\u6587\u306bupper\u304c\u9069\u7528\u3055\u308c\u308b\u3002<\/p>\n<div class=\"programming-inside\">\n{% filter upper %} <strong>&lt;!-- filter\u3092\u5229\u7528\u3057\u3066\u3001endfilter\u307e\u3067\u306e\u9593\u5168\u3066\u3001\u306bupper(\u5927\u6587\u5b57\u5316)\u304c\u9069\u7528\u3055\u308c\u308b --&gt;<\/strong><br \/>\nhi, my name is {{ name }}<br \/>\n{% endfilter %}\n<\/div>\n<p>&nbsp;<br \/>\n\u3053\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3001hi, my name is {{ name }}\u3059\u3079\u3066\u306b\u305f\u3044\u3057\u3066\u3001upper\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u9069\u7528\u3055\u308c\u3066\u3001\u5168\u3066\u5927\u6587\u5b57\u306b\u306a\u3063\u3066\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<ul>\n<li><strong>\u753b\u9762\u8868\u793a\u7d50\u679c<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2020\/12\/1-12.png\" alt=\"\" width=\"500\" height=\"273\" class=\"alignnone size-full wp-image-2450\" \/><br \/>\n&nbsp;<br \/>\n\u6b21\u306b\u3001\u4e00\u90e8\u306e\u5909\u6570\u306b\u5bfe\u3057\u3066\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3059\u308b\u3002{{ \u5909\u6570 | \u30d5\u30a3\u30eb\u30bf\u30fc }}\u3068\u3059\u308b\u3053\u3068\u3067\u3001\u5909\u6570\u306b\u5bfe\u3057\u3066\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3067\u304d\u308b<\/p>\n<ul>\n<li><strong>\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u5b9f\u88c5(index.html)<\/strong><\/li>\n<\/ul>\n<div class=\"programming-inside\">\nhi, my name is {{ name | upper }}&lt;!-- name\u306b\u5bfe\u3057\u3066upper\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u5229\u7528\u3057\u3066\u3001\u5927\u6587\u5b57\u5316\u3059\u308b\u3002 --&gt;<\/strong>\n<\/div>\n<p>&nbsp;<br \/>\n\u3053\u306e\u3088\u3046\u306b\u3059\u308b\u3068\u3001hi, my name is {{ name }}\u306ename\u306b\u305f\u3044\u3057\u3066\u3001upper\u30d5\u30a3\u30eb\u30bf\u30fc\u304c\u9069\u7528\u3055\u308c\u3066\u3001\u5168\u3066\u5927\u6587\u5b57\u306b\u306a\u3063\u3066\u8868\u793a\u3055\u308c\u308b\u3002<\/p>\n<ul>\n<li><strong>\u753b\u9762\u8868\u793a\u7d50\u679c<\/strong><\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.nblog09.com\/w\/wp-content\/uploads\/2020\/12\/1-13.png\" alt=\"\" width=\"400\" height=\"236\" class=\"alignnone size-full wp-image-2451\" \/><\/p>\n<\/div>\n<div class=\"customized-adsense\"><\/div>\n<h2 class=\"title-border\"><strong>\u30d5\u30a3\u30eb\u30bf\u30fc\u4e00\u89a7<\/strong><\/h2>\n<p>\u53c2\u8003: <a href=\"https:\/\/jinja.palletsprojects.com\/en\/2.11.x\/templates\/#builtin-filters\">\u516c\u5f0f\u30b5\u30a4\u30c8<\/a><br \/>\n\u4e0a\u306e\u4f8b\u3067\u306f\u3001\u5927\u6587\u5b57\u5316\u3092\u3059\u308bupper\u30d5\u30a3\u30eb\u30bf\u30fc\u306b\u3064\u3044\u3066\u7d39\u4ecb\u3057\u305f\u304c\u3001\u4ed6\u306b\u3082\u69d8\u3005\u306a\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u5229\u7528\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u308b\u3002<\/p>\n<ul>\n<li>\u4ee3\u8868\u7684\u306a\u30d5\u30a3\u30eb\u30bf\u30fc\u4e00\u89a7<\/li>\n<\/ul>\n<table class=\"table\">\n<thead>\n<tr class=\"table-tr\">\n<th>\u30d5\u30a3\u30eb\u30bf\u30fc\u540d<\/th>\n<th>\u51e6\u7406\u5185\u5bb9<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td class=\"table-td\">abs<\/td>\n<td class=\"table-white\">\u7d76\u5bfe\u5024\u306b\u3057\u3066\u8fd4\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">attr<\/td>\n<td class=\"table-white\">\u5c5e\u6027\u3092\u6307\u5b9a\u3057\u3066\u5024\u3092\u8fd4\u3059\u3002foo|attr(\"bar\") \u3068\u3059\u308b\u3068foo.bar\u3068\u540c\u3058\u3088\u3046\u306bfoo\u306ebar\u30ad\u30fc\u3092\u8fd4\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">capitalize<\/td>\n<td class=\"table-white\">\u6700\u521d\u306f\u5927\u6587\u5b57\u3001\u3042\u3068\u306f\u5c0f\u6587\u5b57\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">default<\/td>\n<td class=\"table-white\">\u5909\u6570\u304c\u5b58\u5728\u3057\u306a\u3044\u5834\u5408\u306b\u3001\u30c7\u30d5\u30a9\u30eb\u30c8\u5024\u3092\u5165\u308c\u308b\uff08\u4f8b: {{ my_variable|default('my_variable is not defined') }}\uff09<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">dictsort<\/td>\n<td class=\"table-white\">\u8f9e\u66f8\u578b\u3092\u4e26\u3073\u66ff\u3048\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">escape<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u3092\u30a8\u30b9\u30b1\u30fc\u30d7\u6587\u5b57\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">filesizeformat<\/td>\n<td class=\"table-white\">kB, MB\u306a\u3069\u306e\u8aad\u307f\u3084\u3059\u3044\u30d5\u30a1\u30a4\u30eb\u306e\u5bb9\u91cf\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">first<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e00\u756a\u6700\u521d\u306e\u5024\u3092\u8fd4\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">float<\/td>\n<td class=\"table-white\">\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u306e\u6307\u5b9a\u3057\u305f\u6841\u307e\u3067\u8868\u793a\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">format<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u3092print\u306e\u3088\u3046\u306b\u7279\u5b9a\u306e\u30d5\u30a9\u30fc\u30de\u30c3\u30c8\u306b\u5165\u308c\u3066\u8868\u793a\u3059\u308b\uff08\u4f8b: {{ \"%s, %s!\"|format(greeting, name) }}\uff09<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">groupby<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306b\u5bfe\u3057\u3066\u3001\u7279\u5b9a\u306e\u30ad\u30fc\u306b\u5bfe\u3057\u3066groupby\u3092\u3057\u3066\u96c6\u8a08\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">int<\/td>\n<td>\u6570\u5024\u578b\u306b\u5909\u63db\u3057\u3066\u8868\u793a\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">join<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u578b\u306a\u3069\u3092\u5f15\u3063\u4ed8\u3051\u308b\uff08\u4f8b: {{ [1, 2, 3]|join('|') }} -> 1|2|3\uff09<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">last<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e00\u756a\u6700\u5f8c\u306e\u5024\u3092\u8fd4\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">list<\/td>\n<td class=\"table-white\">\u5024\u3092\u30ea\u30b9\u30c8\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">lower<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u3092\u5c0f\u6587\u5b57\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">map<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u5185\u306e\u5404\u5024\u306b\u5bfe\u3057\u3066\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3092\u9069\u7528\u3057\u305f\u3044\u5834\u5408\u306b\u7528\u3044\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">max<\/td>\n<td>\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u5185\u306e\u6700\u5927\u5024\u3092\u8fd4\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">min<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u5185\u306e\u6700\u5c0f\u5024\u3092\u8fd4\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">random<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e2d\u304b\u3089\u30e9\u30f3\u30c0\u30e0\u306b\u53d6\u308a\u51fa\u3057\u3066\u8fd4\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">reject<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e2d\u304b\u3089\u7279\u5b9a\u306e\u3082\u306e\u3060\u3051\u306f\u3058\u304f\uff08\u4f8b\uff1a{{ numbers|reject(\"odd\") }}# odd\u306f\u5947\u6570\u306a\u306e\u3067\u5947\u6570\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u3082\u306e\u3092\u524a\u9664\u3057\u3066\u53d6\u308a\u51fa\u3059\uff09<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">rejectattr<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e2d\u306e\u5024\u306e\u5c5e\u6027\u3092\u5143\u306b\u7279\u5b9a\u306e\u3082\u306e\u3060\u3051\u306f\u3058\u304f\uff08\u4f8b\uff1a{{ users|rejectattr(\"is_active\") }}<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">replace<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u306e\u7279\u5b9a\u306e\u6587\u5b57\u3092\u5225\u306e\u6587\u5b57\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">reverse<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u3092\u9006\u9806\u306b\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">round<\/td>\n<td class=\"table-white\">\u6d6e\u52d5\u5c0f\u6570\u70b9\u6570\u3092\u56db\u6368\u4e94\u5165\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">safe<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u3092\u30a8\u30b9\u30b1\u30fc\u30d7\u305b\u305a\u306b\u8868\u793a\u3059\u308b\uff08\u6587\u5b57\u5217\u304c\u5b89\u5168\u306a\u5834\u5408\u306b\u5229\u7528\u3059\u308b\uff09<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">select<\/td>\n<td>\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e2d\u306e\u4e00\u90e8\u3060\u3051\u3068\u308a\u3060\u3059\u3002\uff08{{ numbers| select('odd') }}# odd\u306f\u5947\u6570\u306a\u306e\u3067\u5947\u6570\u30a4\u30f3\u30c7\u30c3\u30af\u30b9\u306e\u3082\u306e\u3092\u53d6\u308a\u51fa\u3059\uff09<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">selectattr<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u306e\u4e2d\u306e\u5024\u306e\u5c5e\u6027\u3092\u5143\u306b\u7279\u5b9a\u306e\u3082\u306e\u3060\u3051\u3068\u308a\u3060\u3059\u3002\uff08{{ users|selectattr(\"is_active\") }} # users\u306e\u4e2d\u3067is_active\u304cTrue\u306e\u3082\u306e\u3060\u3051\u53d6\u308a\u51fa\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">slice<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u306a\u3069\u3092\u3001\u6307\u5b9a\u3057\u305f\u6570\u3067\u5206\u5272\u3059\u308b\uff08\u4f8b: items|slice(3) items\u30923\u5206\u5272\u3059\u308b\uff09<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">sort<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u3092\u6607\u9806\u306b\u4e26\u3073\u66ff\u3048\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">string<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217Unicode\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">sum<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u5408\u8a08\u5024\u3092\u8a08\u7b97\u3057\u3066\u8868\u793a\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">title<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u306e1\u6587\u5b57\u76ee\u3092\u5927\u6587\u5b57\u306b\u3001\u6b8b\u308a\u3092\u5c0f\u6587\u5b57\u306b\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">tojson<\/td>\n<td class=\"table-white\">json\u306b\u5909\u63db\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">trim<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u306e\u7aef\u304b\u3089\u7279\u5b9a\u306e\u6587\u5b57\u3092\u524a\u9664\u3059\u308b\u3002\u30c7\u30d5\u30a9\u30eb\u30c8\u3067\u6587\u5b57\u5217\u306e\u7aef\u306e\u7a7a\u767d\u3092\u524a\u9664\u3059\u308b\u3002<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">unique<\/td>\n<td class=\"table-white\">\u30ea\u30b9\u30c8\u306a\u3069\u306e\u30b7\u30fc\u30b1\u30f3\u30b9\u304b\u3089\u30e6\u30cb\u30fc\u30af\u306a\u3082\u306e\u3060\u3051\u53d6\u308a\u51fa\u3059<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">upper<\/td>\n<td>\u6587\u5b57\u5217\u3092\u5927\u6587\u5b57\u306b\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">urlencode<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u3092URL\u30a8\u30f3\u30b3\u30fc\u30c9\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">urlize<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u5185\u306eURL\u3092\u753b\u9762\u9077\u79fb\u3067\u304d\u308b\u3088\u3046\u306b\u3059\u308b<\/td>\n<\/tr>\n<tr>\n<td class=\"table-td\">wordcount<\/td>\n<td class=\"table-white\">\u6587\u5b57\u5217\u306e\u5b58\u5728\u3059\u308b\u6587\u5b57\u306e\u6570\u3092\u30ab\u30a6\u30f3\u30c8\u3059\u308b<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"flask-adsense\"><\/div>\n<hr>\n<div class=\"previous_next_button\">\n    <a href=\"https:\/\/www.nblog09.com\/w\/2020\/12\/18\/flask-extends\/\"><\/p>\n<div class=\"previous_chapter\">\n<p class=\"title\">&laquo; Previous<\/p>\n<p>      <span class=\"sub_title\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u7d99\u627f\u3059\u308b\u65b9\u6cd5<\/span>\n    <\/div>\n<p><\/a><a href=\"https:\/\/www.nblog09.com\/w\/2020\/12\/20\/flask-self-filter\/\"><\/p>\n<div class=\"next_chapter\" \">\n<p class=\"title\">Next &raquo;<\/p>\n<p>      <span class=\"sub_title\">\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u3092\u81ea\u4f5c\u3059\u308b\u65b9\u6cd5<\/span>\n       <\/div>\n<p>    <\/a>\n<\/div>\n<hr>\n<div class=\"course_link\">\n<a href=\"https:\/\/www.nblog09.com\/w\/0%e3%81%8b%e3%82%89%e5%ad%a6%e3%81%b6flask%e5%85%a5%e9%96%80%e8%ac%9b%e5%ba%a7\/\"><\/p>\n<div class=\"inner\">\n<p class=\"title\">Flask\u5165\u9580\u8a18\u4e8b\u4e00\u89a7\u306f\u3053\u3061\u3089<\/p>\n<\/div>\n<p><\/a>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Flask\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308b\u3002 \u30d5\u30a3\u30eb\u30bf\u30fc\u3068\u3044\u3046\u306e\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e0a\u3067\u5024\u3092\u5909\u63db\u3057\u305f\u3044\u5834\u5408\u306b\u7528\u3044\u3089\u308c\u308b\u3002 \u4e0b\u8a18\u306b\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u306e\u4f7f\u3044\u65b9\u30fb\u5b9f\u88c5\u65b9\u6cd5\u3068\u30d5\u30a3\u30eb\u30bf\u30fc\u4e00\u89a7\u3092\u8a18\u8f09\u3059\u308b \u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u306e [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"_uag_custom_page_level_css":"","_uf_show_specific_survey":0,"_uf_disable_surveys":false,"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[213],"tags":[212,14],"class_list":{"0":"post-2448","1":"post","2":"type-post","3":"status-publish","4":"format-standard","6":"category-flask","7":"tag-flask","8":"tag-python","9":"entry","10":"has-post-thumbnail"},"uagb_featured_image_src":{"full":false,"thumbnail":false,"medium":false,"medium_large":false,"large":false,"1536x1536":false,"2048x2048":false,"home-middle":false,"home-top":false,"sidebar-thumbnail":false},"uagb_author_info":{"display_name":"9nmatsumoto","author_link":"https:\/\/www.nblog09.com\/w\/author\/9nmatsumoto\/"},"uagb_comment_info":2,"uagb_excerpt":"Flask\u306e\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u306f\u3001\u30d5\u30a3\u30eb\u30bf\u30fc\u3068\u3044\u3046\u6a5f\u80fd\u304c\u3042\u308b\u3002 \u30d5\u30a3\u30eb\u30bf\u30fc\u3068\u3044\u3046\u306e\u306f\u3001\u30c6\u30f3\u30d7\u30ec\u30fc\u30c8\u4e0a\u3067\u5024\u3092\u5909\u63db\u3057\u305f\u3044&hellip;","_links":{"self":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts\/2448","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/comments?post=2448"}],"version-history":[{"count":9,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts\/2448\/revisions"}],"predecessor-version":[{"id":4073,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/posts\/2448\/revisions\/4073"}],"wp:attachment":[{"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/media?parent=2448"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/categories?post=2448"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nblog09.com\/w\/wp-json\/wp\/v2\/tags?post=2448"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}