{"id":49588,"date":"2023-10-21T14:33:32","date_gmt":"2023-12-16T04:04:46","guid":{"rendered":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/"},"modified":"2024-05-04T05:21:36","modified_gmt":"2024-05-03T21:21:36","slug":"%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/","title":{"rendered":"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e"},"content":{"rendered":"<h1>\u9996\u5148<\/h1>\n<p>\u5927\u5bb6\u597d\uff0c\u521d\u6b21\u89c1\u9762\u3002<br \/>\n\u6211\u6253\u7b97\u5c06\u4f7f\u7528Django\u521b\u5efa\u6295\u7968\u5e94\u7528\u7a0b\u5e8f\u7684\u8fc7\u7a0b\u4f5c\u4e3a\u5907\u5fd8\u5f55\u8fdb\u884c\u516c\u5f00\u3002<br \/>\n\u7531\u4e8e\u6211\u662fQiita\u7684\u65b0\u624b\uff0c\u6240\u4ee5\u53ef\u80fd\u4f1a\u6709\u4e00\u4e9b\u96be\u4ee5\u7406\u89e3\u7684\u5730\u65b9\uff0c\u8bf7\u8c05\u89e3\u3002<\/p>\n<p>\u7cfb\u5217<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3010\u521d\u5fc3\u8005\u3011\u3010Python\/Django\u3011\u99c6\u3051\u51fa\u3057Web\u30a8\u30f3\u30b8\u30cb\u30a2\u304cDjango\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3084\u3063\u3066\u307f\u305f\uff5e\u305d\u306e0\uff5e<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3010\u521d\u5fc3\u8005\u3011\u3010Python\/Django\u3011\u99c6\u3051\u51fa\u3057Web\u30a8\u30f3\u30b8\u30cb\u30a2\u304cDjango\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3084\u3063\u3066\u307f\u305f\uff5e\u305d\u306e1\uff5e<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3010\u521d\u5fc3\u8005\u3011\u3010Python\/Django\u3011\u99c6\u3051\u51fa\u3057Web\u30a8\u30f3\u30b8\u30cb\u30a2\u304cDjango\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3084\u3063\u3066\u307f\u305f\uff5e\u305d\u306e2\uff5e<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\n<li style=\"list-style-type: none;\">\n<ul class=\"post-ul\">\u3010\u521d\u5fc3\u8005\u3011\u3010Python\/Django\u3011\u99c6\u3051\u51fa\u3057Web\u30a8\u30f3\u30b8\u30cb\u30a2\u304cDjango\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3084\u3063\u3066\u307f\u305f\uff5e\u305d\u306e3\uff5e<\/ul>\n<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<ul class=\"post-ul\">\u3010\u521d\u5fc3\u8005\u3011\u3010Python\/Django\u3011\u99c6\u3051\u51fa\u3057Web\u30a8\u30f3\u30b8\u30cb\u30a2\u304cDjango\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u3084\u3063\u3066\u307f\u305f\uff5e\u305d\u306e4\uff5e<\/ul>\n<h1>\u5f00\u59cb\u505a\u4f5c\u4e1a<\/h1>\n<p>\u8fd9\u6b21\u6211\u4eec\u5c06\u64cd\u4f5c\u9759\u6001\u6587\u4ef6\u3002\u9759\u6001\u6587\u4ef6\u5305\u62ecJavaScript\u3001CSS\u3001\u56fe\u7247\u7b49\u3002<\/p>\n<h2>\u81ea\u5b9a\u4e49\u5e94\u7528\u7a0b\u5e8f\u7684\u7ed3\u6784<\/h2>\n<p>\u9996\u5148\u521b\u5efa\u4e00\u4e2a\u5b58\u653eCSS\u6587\u4ef6\u7684\u76ee\u5f55\uff0c\u7136\u540e\u521b\u5efaSCC\u6587\u4ef6\u3002<\/p>\n<p>\u6309\u7167Django\u7684\u9ed8\u8ba4\u89c4\u8303\uff0c\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a&#8221;polls\/static\/polls\/&#8221;\u7684\u76ee\u5f55\uff0c\u7136\u540e\u5728\u8be5\u76ee\u5f55\u4e0b\u521b\u5efa\u4e00\u4e2astyle.css\u6587\u4ef6\u3002<\/p>\n<p>\u7f16\u5199CSS\u4ee3\u7801\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\n<span class=\"nt\">li<\/span> <span class=\"nt\">a<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"nl\">color<\/span><span class=\"p\">:<\/span> <span class=\"no\">red<\/span><span class=\"p\">;<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u5728HTML\u4e2d\u5bfc\u5165CSS\u3002<br \/>\n\u5728\u8fd9\u79cd\u60c5\u51b5\u4e0b\uff0c\u8bf7\u4e0d\u8981\u5fd8\u8bb0\u4f7f\u7528{% static %}\u6a21\u677f\u6807\u7b7e\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\n{% load static %}\r\n\r\n<span class=\"nt\">&lt;link<\/span> <span class=\"na\">rel=<\/span><span class=\"s\">\"stylesheet\"<\/span> <span class=\"na\">type=<\/span><span class=\"s\">\"text\/css\"<\/span> <span class=\"na\">href=<\/span><span class=\"s\">\"{% static 'polls\/style.css' %}\"<\/span><span class=\"nt\">&gt;<\/span>\r\n\r\n<\/code><\/pre>\n<p>\u786e\u8ba4\u670d\u52a1\u5668\u5df2\u542f\u52a8\u5e76\u5e94\u7528\u4e86SCC\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\n<span class=\"p\">(<\/span><span class=\"n\">poll<\/span><span class=\"o\">-<\/span><span class=\"n\">HcNSSqhc<\/span><span class=\"p\">)<\/span> <span class=\"n\">C<\/span><span class=\"p\">:<\/span>\\<span class=\"n\">django<\/span>\\<span class=\"n\">poll<\/span><span class=\"o\">&gt;<\/span><span class=\"n\">python<\/span> <span class=\"n\">manage<\/span><span class=\"p\">.<\/span><span class=\"n\">py<\/span> <span class=\"n\">runserver<\/span>\r\n<\/code><\/pre>\n<p>\u94fe\u63a5\u53d8\u6210\u7ea2\u8272\u4e86\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c84913a08637a6d0ce0\/16-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u6211\u4f1a\u8ba9\u5b83\u53d8\u5f97\u66f4\u81ea\u7136\u7eff\u8272\u3002<\/p>\n<pre class=\"post-pre\"><code>\r\n<span class=\"nt\">li<\/span> <span class=\"nt\">a<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"nl\">color<\/span><span class=\"p\">:<\/span> <span class=\"no\">green<\/span><span class=\"p\">;<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<h2>\u6dfb\u52a0\u80cc\u666f\u56fe\u7247<\/h2>\n<p>\u521b\u5efa\u4e00\u4e2a\u56fe\u50cf\u6587\u4ef6\u5939\u3002<br \/>\n\u7531\u4e8e\u56fe\u50cf\u4e5f\u662f\u4e00\u79cd\u9759\u6001\u6587\u4ef6\uff0c\u56e0\u6b64\u521b\u5efa\u4e00\u4e2a\u540d\u4e3a\u300cpolls\/static\/polls\/images\u300d\u7684\u6587\u4ef6\u5939\uff0c\u5e76\u5c06Django\u7684Logo\u653e\u5728\u5176\u4e2d\u3002<\/p>\n<pre class=\"post-pre\"><code><span class=\"nt\">body<\/span> <span class=\"p\">{<\/span>\r\n    <span class=\"nl\">background-image<\/span><span class=\"p\">:<\/span> <span class=\"sx\">url(\"images\/django.png\")<\/span><span class=\"p\">;<\/span>\r\n    <span class=\"nl\">background-size<\/span><span class=\"p\">:<\/span> <span class=\"m\">30%<\/span><span class=\"p\">;<\/span>\r\n    <span class=\"nl\">background-repeat<\/span><span class=\"p\">:<\/span> <span class=\"nb\">no-repeat<\/span><span class=\"p\">;<\/span>\r\n<span class=\"p\">}<\/span>\r\n<\/code><\/pre>\n<p>\u80cc\u666f\u56fe\u7247\u5df2\u663e\u793a\u3002\u56fe\u7247\u52a0\u8f7d\u6210\u529f\uff0c\u5c31\u5148\u8ba4\u5b9a\u4e3aOK\u3002<\/p>\n<div><img decoding=\"async\" class=\"post-images\" title=\"\" src=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c84913a08637a6d0ce0\/23-0.png\" alt=\"image.png\" \/><\/div>\n<p>\u4eca\u5929\u6211\u5c31\u5230\u8fd9\u91cc\u4e86\u3002\u8c22\u8c22\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u9996\u5148 \u5927\u5bb6\u597d\uff0c\u521d\u6b21\u89c1\u9762\u3002 \u6211\u6253\u7b97\u5c06\u4f7f\u7528Django\u521b\u5efa\u6295\u7968\u5e94\u7528\u7a0b\u5e8f\u7684\u8fc7\u7a0b\u4f5c\u4e3a\u5907\u5fd8\u5f55\u8fdb\u884c\u516c\u5f00\u3002 \u7531\u4e8e\u6211\u662fQiit [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-49588","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e - Blog - Silicon Cloud<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u65b0\u624b\u3011\u3010python-django\u3011\u521a\u5165\u95e8\u7684web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86django\u6559\u7a0b\uff5e\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e\" \/>\n<meta property=\"og:description\" content=\"\u9996\u5148 \u5927\u5bb6\u597d\uff0c\u521d\u6b21\u89c1\u9762\u3002 \u6211\u6253\u7b97\u5c06\u4f7f\u7528Django\u521b\u5efa\u6295\u7968\u5e94\u7528\u7a0b\u5e8f\u7684\u8fc7\u7a0b\u4f5c\u4e3a\u5907\u5fd8\u5f55\u8fdb\u884c\u516c\u5f00\u3002 \u7531\u4e8e\u6211\u662fQiit [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u65b0\u624b\u3011\u3010python-django\u3011\u521a\u5165\u95e8\u7684web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86django\u6559\u7a0b\uff5e\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-12-16T04:04:46+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-05-03T21:21:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c84913a08637a6d0ce0\/16-0.png\" \/>\n<meta name=\"author\" content=\"\u79d1, \u9896\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u4f5c\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u79d1, \u9896\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/\",\"name\":\"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\"},\"datePublished\":\"2023-12-16T04:04:46+00:00\",\"dateModified\":\"2024-05-03T21:21:36+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/#breadcrumb\"},\"inLanguage\":\"zh-Hans\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/zh\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"zh-Hans\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e\",\"name\":\"\u79d1, \u9896\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g\",\"caption\":\"\u79d1, \u9896\"},\"url\":\"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-Hans\",\"@id\":\"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e - Blog - Silicon Cloud","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u65b0\u624b\u3011\u3010python-django\u3011\u521a\u5165\u95e8\u7684web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86django\u6559\u7a0b\uff5e\/","og_locale":"zh_CN","og_type":"article","og_title":"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e","og_description":"\u9996\u5148 \u5927\u5bb6\u597d\uff0c\u521d\u6b21\u89c1\u9762\u3002 \u6211\u6253\u7b97\u5c06\u4f7f\u7528Django\u521b\u5efa\u6295\u7968\u5e94\u7528\u7a0b\u5e8f\u7684\u8fc7\u7a0b\u4f5c\u4e3a\u5907\u5fd8\u5f55\u8fdb\u884c\u516c\u5f00\u3002 \u7531\u4e8e\u6211\u662fQiit [&hellip;]","og_url":"https:\/\/www.silicloud.com\/zh\/blog\/\u3010\u65b0\u624b\u3011\u3010python-django\u3011\u521a\u5165\u95e8\u7684web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86django\u6559\u7a0b\uff5e\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-12-16T04:04:46+00:00","article_modified_time":"2024-05-03T21:21:36+00:00","og_image":[{"url":"https:\/\/cdn.silicloud.com\/blog-img\/blog\/img\/657d8c84913a08637a6d0ce0\/16-0.png"}],"author":"\u79d1, \u9896","twitter_card":"summary_large_image","twitter_misc":{"\u4f5c\u8005":"\u79d1, \u9896"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/","url":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/","name":"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website"},"datePublished":"2023-12-16T04:04:46+00:00","dateModified":"2024-05-03T21:21:36+00:00","author":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e"},"breadcrumb":{"@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/#breadcrumb"},"inLanguage":"zh-Hans","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/zh\/blog\/"},{"@type":"ListItem","position":2,"name":"\u3010\u65b0\u624b\u3011\u3010Python\/Django\u3011\u521a\u5165\u95e8\u7684Web\u5de5\u7a0b\u5e08\u5c1d\u8bd5\u4e86Django\u6559\u7a0b\uff5e\u7b2c\u516d\u90e8\u5206\uff5e"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#website","url":"https:\/\/www.silicloud.com\/zh\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"zh-Hans"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/8ca01ba7f7362ad4edb7da206a12f29e","name":"\u79d1, \u9896","image":{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8a6fb3cc7ba2f69d2189ba532aec4633ea7ed75ac0af162ec367cb3abc0fb2af?s=96&d=mm&r=g","caption":"\u79d1, \u9896"},"url":"https:\/\/www.silicloud.com\/zh\/blog\/author\/keying\/"},{"@type":"ImageObject","inLanguage":"zh-Hans","@id":"https:\/\/www.silicloud.com\/zh\/blog\/%e3%80%90%e6%96%b0%e6%89%8b%e3%80%91%e3%80%90python-django%e3%80%91%e5%88%9a%e5%85%a5%e9%97%a8%e7%9a%84web%e5%b7%a5%e7%a8%8b%e5%b8%88%e5%b0%9d%e8%af%95%e4%ba%86django%e6%95%99%e7%a8%8b%ef%bd%9e\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49588","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/comments?post=49588"}],"version-history":[{"count":2,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49588\/revisions"}],"predecessor-version":[{"id":96363,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/posts\/49588\/revisions\/96363"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/media?parent=49588"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/categories?post=49588"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/zh\/blog\/wp-json\/wp\/v2\/tags?post=49588"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}