{"id":934102,"date":"2024-12-26T18:29:10","date_gmt":"2024-12-26T10:29:10","guid":{"rendered":"https:\/\/docs.pingcode.com\/ask\/ask-ask\/934102.html"},"modified":"2024-12-26T18:29:12","modified_gmt":"2024-12-26T10:29:12","slug":"python%e5%a6%82%e4%bd%95%e5%ae%9e%e7%8e%b0boostrap","status":"publish","type":"post","link":"https:\/\/docs.pingcode.com\/ask\/934102.html","title":{"rendered":"python\u5982\u4f55\u5b9e\u73b0boostrap"},"content":{"rendered":"<p style=\"text-align:center;\" ><img decoding=\"async\" src=\"https:\/\/cdn-kb.worktile.com\/kb\/wp-content\/uploads\/2024\/04\/25071253\/adfaed98-ee25-404c-8ce2-0f0f353d20a9.webp\" alt=\"python\u5982\u4f55\u5b9e\u73b0boostrap\" \/><\/p>\n<p><p> <strong>\u5728Python\u4e2d\u5b9e\u73b0Bootstrap\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528Flask\u7b49Web\u6846\u67b6\u3001Django\u7b49\u9ad8\u7ea7\u6846\u67b6\uff0c\u6216\u76f4\u63a5\u4f7f\u7528Bootstrap\u7684\u9759\u6001\u6587\u4ef6\u3002Flask\u4e0eBootstrap\u7684\u7ed3\u5408\u662f\u6700\u5e38\u7528\u7684\u65b9\u6cd5\u4e4b\u4e00\uff0c\u56e0\u4e3a\u5b83\u7b80\u5355\u6613\u7528\u3001\u529f\u80fd\u5f3a\u5927\u3002\u4e0b\u9762\u5c06\u8be6\u7ec6\u8bb2\u89e3\u5982\u4f55\u901a\u8fc7Flask\u6765\u5b9e\u73b0Bootstrap\u7684\u5e94\u7528\u3001\u5982\u4f55\u5728Django\u4e2d\u96c6\u6210Bootstrap\uff0c\u4ee5\u53ca\u5982\u4f55\u4f7f\u7528\u9759\u6001HTML\u6587\u4ef6\u76f4\u63a5\u7ed3\u5408Bootstrap\u3002<\/strong><\/p>\n<\/p>\n<p><p>\u4e00\u3001\u4f7f\u7528FLASK\u7ed3\u5408BOOTSTRAP<\/p>\n<\/p>\n<p><p>Flask\u662f\u4e00\u4e2a\u8f7b\u91cf\u7ea7\u7684Web\u6846\u67b6\uff0c\u9002\u5408\u5feb\u901f\u5f00\u53d1Web\u5e94\u7528\u7a0b\u5e8f\u3002\u901a\u8fc7\u5c06Bootstrap\u96c6\u6210\u5230Flask\u5e94\u7528\u4e2d\uff0c\u53ef\u4ee5\u8f7b\u677e\u521b\u5efa\u54cd\u5e94\u5f0f\u548c\u7f8e\u89c2\u7684Web\u754c\u9762\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5Flask<\/strong><\/li>\n<\/ol>\n<p><p>\u9996\u5148\uff0c\u9700\u8981\u786e\u4fdd\u5728Python\u73af\u5883\u4e2d\u5b89\u88c5\u4e86Flask\u3002\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u547d\u4ee4\u5b89\u88c5\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install flask<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u521b\u5efaFlask\u5e94\u7528<\/strong><\/li>\n<\/ol>\n<p><p>\u521b\u5efa\u4e00\u4e2a\u57fa\u672c\u7684Flask\u5e94\u7528\u7a0b\u5e8f\u3002\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>app.py<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from flask import Flask, render_template<\/p>\n<p>app = Flask(__name__)<\/p>\n<p>@app.route(&#39;\/&#39;)<\/p>\n<p>def index():<\/p>\n<p>    return render_template(&#39;index.html&#39;)<\/p>\n<p>if __name__ == &#39;__m<a href=\"https:\/\/docs.pingcode.com\/blog\/59162.html\" target=\"_blank\">AI<\/a>n__&#39;:<\/p>\n<p>    app.run(debug=True)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u4e0b\u8f7dBootstrap<\/strong><\/li>\n<\/ol>\n<p><p>\u53ef\u4ee5\u4eceBootstrap\u5b98\u65b9\u7f51\u7ad9\u4e0b\u8f7dBootstrap\u6587\u4ef6\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7CDN\u94fe\u63a5\u76f4\u63a5\u5728HTML\u4e2d\u5f15\u7528\u3002\u8fd9\u91cc\u4ee5CDN\u4e3a\u4f8b\u3002\u5728\u9879\u76ee\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>templates<\/code>\u7684\u6587\u4ef6\u5939\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>index.html<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html lang=&quot;en&quot;&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>    &lt;meta charset=&quot;UTF-8&quot;&gt;<\/p>\n<p>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<\/p>\n<p>    &lt;link href=&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.5.2\/css\/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&gt;<\/p>\n<p>    &lt;title&gt;Flask with Bootstrap&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>    &lt;div class=&quot;container&quot;&gt;<\/p>\n<p>        &lt;h1 class=&quot;mt-5&quot;&gt;Welcome to Flask with Bootstrap&lt;\/h1&gt;<\/p>\n<p>        &lt;p&gt;This is a simple example of integrating Bootstrap with Flask.&lt;\/p&gt;<\/p>\n<p>        &lt;button class=&quot;btn btn-primary&quot;&gt;A Bootstrap Button&lt;\/button&gt;<\/p>\n<p>    &lt;\/div&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/code.jquery.com\/jquery-3.5.1.slim.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/npm\/@popperjs\/core@2.9.2\/dist\/umd\/popper.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.5.2\/js\/bootstrap.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u8fd9\u4e2aHTML\u6587\u4ef6\u4e2d\uff0c\u6211\u4eec\u4f7f\u7528\u4e86Bootstrap\u7684CDN\u94fe\u63a5\u6765\u52a0\u8f7dCSS\u548cJS\u6587\u4ef6\u3002<\/p>\n<\/p>\n<ol start=\"4\">\n<li><strong>\u8fd0\u884cFlask\u5e94\u7528<\/strong><\/li>\n<\/ol>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\uff0c\u901a\u8fc7\u547d\u4ee4\u884c\u8fd0\u884cFlask\u5e94\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python app.py<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u7136\u540e\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee<code>http:\/\/127.0.0.1:5000\/<\/code>\uff0c\u5c31\u53ef\u4ee5\u770b\u5230Bootstrap\u6837\u5f0f\u7684\u7f51\u9875\u3002<\/p>\n<\/p>\n<p><p>\u4e8c\u3001\u5728DJANGO\u4e2d\u96c6\u6210BOOTSTRAP<\/p>\n<\/p>\n<p><p>Django\u662f\u4e00\u4e2a\u529f\u80fd\u5168\u9762\u7684Web\u6846\u67b6\uff0c\u9002\u5408\u5f00\u53d1\u590d\u6742\u7684Web\u5e94\u7528\u7a0b\u5e8f\u3002\u901a\u8fc7Django\uff0c\u53ef\u4ee5\u66f4\u597d\u5730\u7ec4\u7ec7\u9879\u76ee\u7ed3\u6784\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u5b89\u88c5Django<\/strong><\/li>\n<\/ol>\n<p><p>\u9996\u5148\uff0c\u786e\u4fdd\u5728Python\u73af\u5883\u4e2d\u5b89\u88c5\u4e86Django\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">pip install django<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u521b\u5efaDjango\u9879\u76ee<\/strong><\/li>\n<\/ol>\n<p><p>\u4f7f\u7528\u4ee5\u4e0b\u547d\u4ee4\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Django\u9879\u76ee\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">django-admin startproject myproject<\/p>\n<p>cd myproject<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"3\">\n<li><strong>\u521b\u5efaDjango\u5e94\u7528<\/strong><\/li>\n<\/ol>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u65b0\u7684Django\u5e94\u7528\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python manage.py startapp myapp<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"4\">\n<li><strong>\u914d\u7f6e\u9879\u76ee<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>myproject\/settings.py<\/code>\u4e2d\uff0c\u5c06<code>myapp<\/code>\u6dfb\u52a0\u5230<code>INSTALLED_APPS<\/code>\u4e2d\u3002<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">INSTALLED_APPS = [<\/p>\n<p>    ...<\/p>\n<p>    &#39;myapp&#39;,<\/p>\n<p>]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"5\">\n<li><strong>\u521b\u5efaHTML\u6a21\u677f<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>myapp<\/code>\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>templates<\/code>\u7684\u6587\u4ef6\u5939\uff0c\u5e76\u5728\u5176\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>index.html<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html lang=&quot;en&quot;&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>    &lt;meta charset=&quot;UTF-8&quot;&gt;<\/p>\n<p>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<\/p>\n<p>    &lt;link href=&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.5.2\/css\/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&gt;<\/p>\n<p>    &lt;title&gt;Django with Bootstrap&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>    &lt;div class=&quot;container&quot;&gt;<\/p>\n<p>        &lt;h1 class=&quot;mt-5&quot;&gt;Welcome to Django with Bootstrap&lt;\/h1&gt;<\/p>\n<p>        &lt;p&gt;This is a simple example of integrating Bootstrap with Django.&lt;\/p&gt;<\/p>\n<p>        &lt;button class=&quot;btn btn-primary&quot;&gt;A Bootstrap Button&lt;\/button&gt;<\/p>\n<p>    &lt;\/div&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/code.jquery.com\/jquery-3.5.1.slim.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/npm\/@popperjs\/core@2.9.2\/dist\/umd\/popper.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.5.2\/js\/bootstrap.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"6\">\n<li><strong>\u521b\u5efa\u89c6\u56fe<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>myapp\/views.py<\/code>\u4e2d\u5b9a\u4e49\u4e00\u4e2a\u89c6\u56fe\u51fd\u6570\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from django.shortcuts import render<\/p>\n<p>def index(request):<\/p>\n<p>    return render(request, &#39;index.html&#39;)<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"7\">\n<li><strong>\u914d\u7f6eURL<\/strong><\/li>\n<\/ol>\n<p><p>\u5728<code>myproject\/urls.py<\/code>\u4e2d\u914d\u7f6eURL\u6620\u5c04\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-python\">from django.contrib import admin<\/p>\n<p>from django.urls import path<\/p>\n<p>from myapp import views<\/p>\n<p>urlpatterns = [<\/p>\n<p>    path(&#39;admin\/&#39;, admin.site.urls),<\/p>\n<p>    path(&#39;&#39;, views.index, name=&#39;index&#39;),<\/p>\n<p>]<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"8\">\n<li><strong>\u8fd0\u884cDjango\u9879\u76ee<\/strong><\/li>\n<\/ol>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\uff0c\u8fd0\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8Django\u5f00\u53d1\u670d\u52a1\u5668\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-bash\">python manage.py runserver<\/p>\n<p><\/code><\/pre>\n<\/p>\n<p><p>\u5728\u6d4f\u89c8\u5668\u4e2d\u8bbf\u95ee<code>http:\/\/127.0.0.1:8000\/<\/code>\uff0c\u5373\u53ef\u770b\u5230Bootstrap\u6837\u5f0f\u7684\u7f51\u9875\u3002<\/p>\n<\/p>\n<p><p>\u4e09\u3001\u4f7f\u7528\u9759\u6001HTML\u6587\u4ef6\u7ed3\u5408BOOTSTRAP<\/p>\n<\/p>\n<p><p>\u5982\u679c\u4e0d\u4f7f\u7528\u4efb\u4f55Web\u6846\u67b6\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u76f4\u63a5\u7f16\u5199HTML\u6587\u4ef6\u6765\u4f7f\u7528Bootstrap\u3002<\/p>\n<\/p>\n<ol>\n<li><strong>\u521b\u5efaHTML\u6587\u4ef6<\/strong><\/li>\n<\/ol>\n<p><p>\u5728\u9879\u76ee\u76ee\u5f55\u4e2d\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a<code>index.html<\/code>\u7684\u6587\u4ef6\uff1a<\/p>\n<\/p>\n<p><pre><code class=\"language-html\">&lt;!DOCTYPE html&gt;<\/p>\n<p>&lt;html lang=&quot;en&quot;&gt;<\/p>\n<p>&lt;head&gt;<\/p>\n<p>    &lt;meta charset=&quot;UTF-8&quot;&gt;<\/p>\n<p>    &lt;meta name=&quot;viewport&quot; content=&quot;width=device-width, initial-scale=1.0&quot;&gt;<\/p>\n<p>    &lt;link href=&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.5.2\/css\/bootstrap.min.css&quot; rel=&quot;stylesheet&quot;&gt;<\/p>\n<p>    &lt;title&gt;Static HTML with Bootstrap&lt;\/title&gt;<\/p>\n<p>&lt;\/head&gt;<\/p>\n<p>&lt;body&gt;<\/p>\n<p>    &lt;div class=&quot;container&quot;&gt;<\/p>\n<p>        &lt;h1 class=&quot;mt-5&quot;&gt;Welcome to Static HTML with Bootstrap&lt;\/h1&gt;<\/p>\n<p>        &lt;p&gt;This is a simple example of integrating Bootstrap with a static HTML file.&lt;\/p&gt;<\/p>\n<p>        &lt;button class=&quot;btn btn-primary&quot;&gt;A Bootstrap Button&lt;\/button&gt;<\/p>\n<p>    &lt;\/div&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/code.jquery.com\/jquery-3.5.1.slim.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/cdn.jsdelivr.net\/npm\/@popperjs\/core@2.9.2\/dist\/umd\/popper.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>    &lt;script src=&quot;https:\/\/stackpath.bootstrapcdn.com\/bootstrap\/4.5.2\/js\/bootstrap.min.js&quot;&gt;&lt;\/script&gt;<\/p>\n<p>&lt;\/body&gt;<\/p>\n<p>&lt;\/html&gt;<\/p>\n<p><\/code><\/pre>\n<\/p>\n<ol start=\"2\">\n<li><strong>\u67e5\u770b\u6548\u679c<\/strong><\/li>\n<\/ol>\n<p><p>\u76f4\u63a5\u7528\u6d4f\u89c8\u5668\u6253\u5f00<code>index.html<\/code>\u6587\u4ef6\u5373\u53ef\u770b\u5230Bootstrap\u6837\u5f0f\u7684\u7f51\u9875\u3002<\/p>\n<\/p>\n<p><p>\u901a\u8fc7\u4ee5\u4e0a\u4e09\u79cd\u65b9\u6cd5\uff0c\u53ef\u4ee5\u5728Python\u9879\u76ee\u4e2d\u7075\u6d3b\u5730\u5b9e\u73b0Bootstrap\u7684\u96c6\u6210\u3002\u65e0\u8bba\u662f\u4f7f\u7528Flask\u3001Django\u8fd8\u662f\u7eafHTML\u6587\u4ef6\uff0cBootstrap\u90fd\u80fd\u5e2e\u52a9\u5feb\u901f\u6784\u5efa\u7f8e\u89c2\u3001\u54cd\u5e94\u5f0f\u7684Web\u5e94\u7528\u754c\u9762\u3002<\/p>\n<\/p>\n<h2><strong>\u76f8\u5173\u95ee\u7b54FAQs\uff1a<\/strong><\/h2>\n<p> <strong>\u5982\u4f55\u5728Python\u4e2d\u4f7f\u7528Bootstrap\u8fdb\u884c\u7f51\u9875\u5f00\u53d1\uff1f<\/strong><br \/>\u5728Python\u4e2d\u4f7f\u7528Bootstrap\uff0c\u901a\u5e38\u9700\u8981\u7ed3\u5408Flask\u6216Django\u7b49Web\u6846\u67b6\u3002\u60a8\u53ef\u4ee5\u5728HTML\u6a21\u677f\u4e2d\u5f15\u5165Bootstrap\u7684CSS\u548cJS\u6587\u4ef6\uff0c\u6216\u8005\u4f7f\u7528CDN\u94fe\u63a5\u3002\u521b\u5efa\u7f51\u9875\u65f6\uff0c\u53ef\u4ee5\u5229\u7528Bootstrap\u7684\u7f51\u683c\u7cfb\u7edf\u548c\u7ec4\u4ef6\u6765\u5feb\u901f\u6784\u5efa\u54cd\u5e94\u5f0f\u5e03\u5c40\uff0c\u63d0\u5347\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n<p><strong>Python\u4e0eBootstrap\u7684\u96c6\u6210\u6709\u54ea\u4e9b\u63a8\u8350\u7684\u5e93\u6216\u5de5\u5177\uff1f<\/strong><br \/>\u6709\u51e0\u4e2a\u5e93\u53ef\u4ee5\u5e2e\u52a9\u60a8\u66f4\u597d\u5730\u5c06Bootstrap\u4e0ePython\u96c6\u6210\u3002\u4f8b\u5982\uff0cFlask-Bootstrap\u662f\u4e00\u4e2aFlask\u6269\u5c55\uff0c\u63d0\u4f9b\u4e86Bootstrap\u7684\u96c6\u6210\u652f\u6301\uff0c\u7b80\u5316\u4e86\u6a21\u677f\u7684\u4f7f\u7528\u3002\u6b64\u5916\uff0cDjango\u6709Django-Bootstrap4\u7b49\u5e93\uff0c\u53ef\u4ee5\u65b9\u4fbf\u5730\u5c06Bootstrap\u96c6\u6210\u5230Django\u9879\u76ee\u4e2d\uff0c\u8f7b\u677e\u8c03\u7528Bootstrap\u7684\u7ec4\u4ef6\u3002<\/p>\n<p><strong>\u4f7f\u7528Bootstrap\u65f6\uff0c\u5982\u4f55\u786e\u4fdd\u7f51\u9875\u5728\u4e0d\u540c\u8bbe\u5907\u4e0a\u90fd\u80fd\u826f\u597d\u663e\u793a\uff1f<\/strong><br \/>Bootstrap\u672c\u8eab\u5c31\u662f\u4e3a\u54cd\u5e94\u5f0f\u8bbe\u8ba1\u800c\u751f\u7684\u3002\u901a\u8fc7\u4f7f\u7528Bootstrap\u7684\u7f51\u683c\u7cfb\u7edf\u548c\u9884\u5b9a\u4e49\u7684\u7c7b\uff0c\u53ef\u4ee5\u786e\u4fdd\u60a8\u7684\u7f51\u9875\u5728\u5404\u79cd\u5c4f\u5e55\u5c3a\u5bf8\u4e0a\u90fd\u80fd\u826f\u597d\u663e\u793a\u3002\u5efa\u8bae\u5728\u5f00\u53d1\u8fc7\u7a0b\u4e2d\uff0c\u4f7f\u7528\u6d4f\u89c8\u5668\u7684\u5f00\u53d1\u8005\u5de5\u5177\u6d4b\u8bd5\u4e0d\u540c\u8bbe\u5907\u7684\u89c6\u56fe\uff0c\u5e76\u6839\u636e\u9700\u8981\u8c03\u6574\u5e03\u5c40\u548c\u6837\u5f0f\uff0c\u4ee5\u4f18\u5316\u7528\u6237\u4f53\u9a8c\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"\u5728Python\u4e2d\u5b9e\u73b0Bootstrap\u53ef\u4ee5\u901a\u8fc7\u591a\u79cd\u65b9\u6cd5\u5b9e\u73b0\uff0c\u5305\u62ec\u4f7f\u7528Flask\u7b49Web\u6846\u67b6\u3001Django\u7b49\u9ad8\u7ea7 [&hellip;]","protected":false},"author":3,"featured_media":934104,"comment_status":"closed","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[37],"tags":[],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/934102"}],"collection":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/comments?post=934102"}],"version-history":[{"count":"1","href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/934102\/revisions"}],"predecessor-version":[{"id":934105,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/posts\/934102\/revisions\/934105"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media\/934104"}],"wp:attachment":[{"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/media?parent=934102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/categories?post=934102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/docs.pingcode.com\/wp-json\/wp\/v2\/tags?post=934102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}