{"id":431,"date":"2020-08-03T00:45:07","date_gmt":"2020-08-03T00:45:07","guid":{"rendered":"http:\/\/feellikelearning.com\/?p=431"},"modified":"2020-08-04T06:16:38","modified_gmt":"2020-08-04T06:16:38","slug":"cn-django-tutorial-1-install-and-building-a-simple-webapp","status":"publish","type":"post","link":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/","title":{"rendered":"Django \u6559\u7a0b 1 &#8211; \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 &#8211; getting start, install and building a simple webapp"},"content":{"rendered":"\n<p>\u7528pip\u5b89\u88c5Django<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>pip install django<\/code><\/pre>\n\n\n\n<p>\u5efa\u7acb\u4e00\u4e2a\u53eb\u201cdemo&#8221;\u7684\u65b0project<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>django-admin startproject demo<\/code><\/pre>\n\n\n\n<p>\u628aweb server\u8dd1\u8d77\u6765<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>cd demo\npython manage.py runserver<\/code><\/pre>\n\n\n\n<p>\u7136\u540e\u6253\u5f00\u70b9\u5f00 http:\/\/127.0.0.1:8000\uff0c\u5e94\u8be5\u80fd\u770b\u5230\u4ee5\u4e0b\u9875\u9762\uff0c\u8bf4\u660e\u5efa\u7acb\u6210\u529f\u4e86<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"2068\" height=\"1074\" src=\"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image.png\" alt=\"\" class=\"wp-image-435\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>\u5982\u679c\u4e0d\u60f3\u7528\u9ed8\u8ba4\u76848000\uff0c\u60f3\u6362\u4e00\u4e2a\u7aef\u53e3\uff08port\uff09\uff0c\u6bd4\u59821234\uff0c\u53ef\u4ee5\u8fd9\u6837\u542f\u52a8<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>python manage.py runserver 1234<\/code><\/pre>\n\n\n\n<p>\u5efa\u7acb\u4e00\u4e2a\u53eb\u201cmyapp\u201c\u7684app<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>python manage.py startapp myapp<\/code><\/pre>\n\n\n\n<p>\u8fd9\u4e2a\u65f6\u5019\uff0cdemo\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u5982\u4e0b<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1410\" height=\"830\" src=\"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image-1.png\" alt=\"\" class=\"wp-image-438\"\/><\/figure>\n\n\n\n<p>\u7f16\u8f91myapp\u4e0b\u9762\u7684views.py<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"2142\" height=\"1288\" src=\"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image-2.png\" alt=\"\" class=\"wp-image-440\"\/><\/figure>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.shortcuts import render\nfrom django.http import HttpResponse\n\n# Create your views here.\ndef index(response):\n    return HttpResponse(\"&lt;h1>Hello from my first Django app&lt;\/h1>\")\n<\/code><\/pre>\n\n\n\n<p>\u5728myapp\u4e0b\u9762\u65b0\u5efa\u4e00\u4e2a\u53eb urls.py \u7684\u6587\u4ef6<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"2142\" height=\"1278\" src=\"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image-3.png\" alt=\"\" class=\"wp-image-443\"\/><\/figure>\n\n\n\n<p>myapp\/urls.py \u5199\u5165\u5982\u4e0b\u5185\u5bb9<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.urls import path\nfrom . import views\n\nurlpatterns = [\n    path(\"\", views.index, name=\"index\"),\n]<\/code><\/pre>\n\n\n\n<p>\u6ce8\u610f urlpatterns \u53d8\u91cf\u540d\u4e00\u5b9a\u4e0d\u80fd\u5199\u9519\uff0c\u5426\u5219\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>django.core.exceptions.ImproperlyConfigured: The included URLconf '&lt;module 'myapp.urls' from '\/&lt;project path>\/demo\/myapp\/urls.py'>' does not appear to have any patterns in it. If you see valid patterns in the file then the issue is probably caused by a circular import.<\/code><\/pre>\n\n\n\n<p>\u6253\u5f00demo\/urls.py<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"2140\" height=\"1036\" src=\"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image-4.png\" alt=\"\" class=\"wp-image-448\"\/><\/figure>\n\n\n\n<p>demo\/urls.py \u4fee\u6539\u4e3a\u5982\u4e0b<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>from django.contrib import admin\nfrom django.urls import path, include\n\nurlpatterns = [\n    path('admin\/', admin.site.urls),\n    path('', include(\"myapp.urls\")),\n]\n<\/code><\/pre>\n\n\n\n<p>\u6d4f\u89c8\u5668\u91cc\u5237\u65b0 django \u7f51\u9875<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" width=\"1004\" height=\"280\" src=\"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image-5.png\" alt=\"\" class=\"wp-image-452\"\/><\/figure>\n\n\n\n<p>\u5230\u8fd9\u91cc\uff0c\u6211\u4eec\u5c31\u7528Django\u505a\u597d\u4e00\u4e2a\u80fd\u7528\u7684web app\u4e86\u3002\u8fd9\u91cc\u6bcf\u4e2a\u7f51\u9875views.py\u91cc\u9762\u7528HttpResponse\u8f93\u51fahtml\uff0c\u8fd9\u80af\u5b9a\u662f\u4e0dscalable\u3002\u800c\u4e14\u8fd9\u6837\u5f88\u80fd\u52a0\u5165javascript\/css\u3002\u89e3\u51b3\u529e\u4e8b\u662f\u6211\u4eec\u9700\u8981html template\u3002\u4e0b\u4e00\u7247\u6587\u7ae0\u5c06\u4f1a\u4ecb\u7ecd\u5728Django html template\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u7528pip\u5b89\u88c5Django \u5efa\u7acb\u4e00\u4e2a\u53eb\u201cdemo&#8221;\u7684\u65b0project \u628aweb server\u8dd1\u8d77\u6765 \u7136\u540e\u6253\u5f00\u70b9\u5f00 http:\/\/127.0.0.1:8000\uff0c\u5e94\u8be5\u80fd\u770b\u5230\u4ee5\u4e0b\u9875\u9762\uff0c\u8bf4\u660e\u5efa\u7acb\u6210\u529f\u4e86 \u5efa\u7acb\u4e00\u4e2a\u53eb\u201cmyapp\u201c\u7684app \u8fd9\u4e2a\u65f6\u5019\uff0cdemo\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u5982\u4e0b \u7f16\u8f91myapp\u4e0b\u9762\u7684views.py \u5728myapp\u4e0b\u9762\u65b0\u5efa\u4e00\u4e2a\u53eb urls.py \u7684\u6587\u4ef6 myapp\/urls.py \u5199\u5165\u5982\u4e0b\u5185\u5bb9 \u6ce8\u610f urlpatterns \u53d8\u91cf\u540d\u4e00\u5b9a\u4e0d\u80fd\u5199\u9519\uff0c\u5426\u5219\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef \u6253\u5f00demo\/urls.py demo\/urls.py \u4fee\u6539\u4e3a\u5982\u4e0b \u6d4f\u89c8\u5668\u91cc\u5237\u65b0 django \u7f51\u9875 \u5230\u8fd9\u91cc\uff0c\u6211\u4eec\u5c31\u7528Django\u505a\u597d\u4e00\u4e2a\u80fd\u7528\u7684web app\u4e86\u3002\u8fd9\u91cc\u6bcf\u4e2a\u7f51\u9875views.py\u91cc\u9762\u7528HttpResponse\u8f93\u51fahtml\uff0c\u8fd9\u80af\u5b9a\u662f\u4e0dscalable\u3002\u800c\u4e14\u8fd9\u6837\u5f88\u80fd\u52a0\u5165javascript\/css\u3002\u89e3\u51b3\u529e\u4e8b\u662f\u6211\u4eec\u9700\u8981html template\u3002\u4e0b\u4e00\u7247\u6587\u7ae0\u5c06\u4f1a\u4ecb\u7ecd\u5728Django html template\u3002<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false},"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v19.10 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Django \u6559\u7a0b 1 - \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 - getting start, install and building a simple webapp | Feel Like Learning<\/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:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Django \u6559\u7a0b 1 - \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 - getting start, install and building a simple webapp | Feel Like Learning\" \/>\n<meta property=\"og:description\" content=\"\u7528pip\u5b89\u88c5Django \u5efa\u7acb\u4e00\u4e2a\u53eb\u201cdemo&#8221;\u7684\u65b0project \u628aweb server\u8dd1\u8d77\u6765 \u7136\u540e\u6253\u5f00\u70b9\u5f00 http:\/\/127.0.0.1:8000\uff0c\u5e94\u8be5\u80fd\u770b\u5230\u4ee5\u4e0b\u9875\u9762\uff0c\u8bf4\u660e\u5efa\u7acb\u6210\u529f\u4e86 \u5efa\u7acb\u4e00\u4e2a\u53eb\u201cmyapp\u201c\u7684app \u8fd9\u4e2a\u65f6\u5019\uff0cdemo\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u5982\u4e0b \u7f16\u8f91myapp\u4e0b\u9762\u7684views.py \u5728myapp\u4e0b\u9762\u65b0\u5efa\u4e00\u4e2a\u53eb urls.py \u7684\u6587\u4ef6 myapp\/urls.py \u5199\u5165\u5982\u4e0b\u5185\u5bb9 \u6ce8\u610f urlpatterns \u53d8\u91cf\u540d\u4e00\u5b9a\u4e0d\u80fd\u5199\u9519\uff0c\u5426\u5219\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef \u6253\u5f00demo\/urls.py demo\/urls.py \u4fee\u6539\u4e3a\u5982\u4e0b \u6d4f\u89c8\u5668\u91cc\u5237\u65b0 django \u7f51\u9875 \u5230\u8fd9\u91cc\uff0c\u6211\u4eec\u5c31\u7528Django\u505a\u597d\u4e00\u4e2a\u80fd\u7528\u7684web app\u4e86\u3002\u8fd9\u91cc\u6bcf\u4e2a\u7f51\u9875views.py\u91cc\u9762\u7528HttpResponse\u8f93\u51fahtml\uff0c\u8fd9\u80af\u5b9a\u662f\u4e0dscalable\u3002\u800c\u4e14\u8fd9\u6837\u5f88\u80fd\u52a0\u5165javascript\/css\u3002\u89e3\u51b3\u529e\u4e8b\u662f\u6211\u4eec\u9700\u8981html template\u3002\u4e0b\u4e00\u7247\u6587\u7ae0\u5c06\u4f1a\u4ecb\u7ecd\u5728Django html template\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant\" \/>\n<meta property=\"og:site_name\" content=\"Feel Like Learning\" \/>\n<meta property=\"article:published_time\" content=\"2020-08-03T00:45:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-08-04T06:16:38+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image.png\" \/>\n<meta name=\"author\" content=\"feellikelearning\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"feellikelearning\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#article\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant\"},\"author\":{\"name\":\"feellikelearning\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"headline\":\"Django \u6559\u7a0b 1 &#8211; \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 &#8211; getting start, install and building a simple webapp\",\"datePublished\":\"2020-08-03T00:45:07+00:00\",\"dateModified\":\"2020-08-04T06:16:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant\"},\"wordCount\":55,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant\",\"url\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant\",\"name\":\"Django \u6559\u7a0b 1 - \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 - getting start, install and building a simple webapp | Feel Like Learning\",\"isPartOf\":{\"@id\":\"https:\/\/feellikelearning.com\/#website\"},\"datePublished\":\"2020-08-03T00:45:07+00:00\",\"dateModified\":\"2020-08-04T06:16:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/feellikelearning.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Django \u6559\u7a0b 1 &#8211; \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 &#8211; getting start, install and building a simple webapp\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/feellikelearning.com\/#website\",\"url\":\"https:\/\/feellikelearning.com\/\",\"name\":\"Feel Like Learning\",\"description\":\"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230\",\"publisher\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/feellikelearning.com\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a\",\"name\":\"feellikelearning\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g\",\"caption\":\"feellikelearning\"},\"logo\":{\"@id\":\"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/\"},\"url\":\"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Django \u6559\u7a0b 1 - \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 - getting start, install and building a simple webapp | Feel Like Learning","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:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant","og_locale":"en_US","og_type":"article","og_title":"Django \u6559\u7a0b 1 - \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 - getting start, install and building a simple webapp | Feel Like Learning","og_description":"\u7528pip\u5b89\u88c5Django \u5efa\u7acb\u4e00\u4e2a\u53eb\u201cdemo&#8221;\u7684\u65b0project \u628aweb server\u8dd1\u8d77\u6765 \u7136\u540e\u6253\u5f00\u70b9\u5f00 http:\/\/127.0.0.1:8000\uff0c\u5e94\u8be5\u80fd\u770b\u5230\u4ee5\u4e0b\u9875\u9762\uff0c\u8bf4\u660e\u5efa\u7acb\u6210\u529f\u4e86 \u5efa\u7acb\u4e00\u4e2a\u53eb\u201cmyapp\u201c\u7684app \u8fd9\u4e2a\u65f6\u5019\uff0cdemo\u76ee\u5f55\u4e0b\u7684\u5185\u5bb9\u5982\u4e0b \u7f16\u8f91myapp\u4e0b\u9762\u7684views.py \u5728myapp\u4e0b\u9762\u65b0\u5efa\u4e00\u4e2a\u53eb urls.py \u7684\u6587\u4ef6 myapp\/urls.py \u5199\u5165\u5982\u4e0b\u5185\u5bb9 \u6ce8\u610f urlpatterns \u53d8\u91cf\u540d\u4e00\u5b9a\u4e0d\u80fd\u5199\u9519\uff0c\u5426\u5219\u4f1a\u51fa\u73b0\u4ee5\u4e0b\u9519\u8bef \u6253\u5f00demo\/urls.py demo\/urls.py \u4fee\u6539\u4e3a\u5982\u4e0b \u6d4f\u89c8\u5668\u91cc\u5237\u65b0 django \u7f51\u9875 \u5230\u8fd9\u91cc\uff0c\u6211\u4eec\u5c31\u7528Django\u505a\u597d\u4e00\u4e2a\u80fd\u7528\u7684web app\u4e86\u3002\u8fd9\u91cc\u6bcf\u4e2a\u7f51\u9875views.py\u91cc\u9762\u7528HttpResponse\u8f93\u51fahtml\uff0c\u8fd9\u80af\u5b9a\u662f\u4e0dscalable\u3002\u800c\u4e14\u8fd9\u6837\u5f88\u80fd\u52a0\u5165javascript\/css\u3002\u89e3\u51b3\u529e\u4e8b\u662f\u6211\u4eec\u9700\u8981html template\u3002\u4e0b\u4e00\u7247\u6587\u7ae0\u5c06\u4f1a\u4ecb\u7ecd\u5728Django html template\u3002","og_url":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant","og_site_name":"Feel Like Learning","article_published_time":"2020-08-03T00:45:07+00:00","article_modified_time":"2020-08-04T06:16:38+00:00","og_image":[{"url":"http:\/\/feellikelearning.com\/wp-content\/uploads\/2020\/08\/image.png"}],"author":"feellikelearning","twitter_card":"summary_large_image","twitter_misc":{"Written by":"feellikelearning","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#article","isPartOf":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant"},"author":{"name":"feellikelearning","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"headline":"Django \u6559\u7a0b 1 &#8211; \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 &#8211; getting start, install and building a simple webapp","datePublished":"2020-08-03T00:45:07+00:00","dateModified":"2020-08-04T06:16:38+00:00","mainEntityOfPage":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant"},"wordCount":55,"commentCount":0,"publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#respond"]}]},{"@type":"WebPage","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant","url":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant","name":"Django \u6559\u7a0b 1 - \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 - getting start, install and building a simple webapp | Feel Like Learning","isPartOf":{"@id":"https:\/\/feellikelearning.com\/#website"},"datePublished":"2020-08-03T00:45:07+00:00","dateModified":"2020-08-04T06:16:38+00:00","breadcrumb":{"@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/feellikelearning.com\/index.php\/2020\/08\/03\/cn-django-tutorial-1-install-and-building-a-simple-webapp\/?variant=zh-hant#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/feellikelearning.com\/"},{"@type":"ListItem","position":2,"name":"Django \u6559\u7a0b 1 &#8211; \u5165\u95e8, \u5b89\u88c5\uff0c\u5efa\u7acb\u7b80\u5355\u7f51\u9875\u5e94\u7528 | Django tutorial 1 &#8211; getting start, install and building a simple webapp"}]},{"@type":"WebSite","@id":"https:\/\/feellikelearning.com\/#website","url":"https:\/\/feellikelearning.com\/","name":"Feel Like Learning","description":"\u7a0b\u5e8f\uff5c\u751f\u6d3b\uff5c\u5b66\u5230\u5c31\u662f\u8d5a\u5230","publisher":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/feellikelearning.com\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/91fb815bebebf166c217b5e3764d437a","name":"feellikelearning","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/72a1e86e9dcb0332e88bd7d54fd36c28?s=96&d=mm&r=g","caption":"feellikelearning"},"logo":{"@id":"https:\/\/feellikelearning.com\/#\/schema\/person\/image\/"},"url":"https:\/\/feellikelearning.com\/index.php\/author\/feellikelearning\/"}]}},"_links":{"self":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/431"}],"collection":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/comments?post=431"}],"version-history":[{"count":19,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/431\/revisions"}],"predecessor-version":[{"id":464,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/posts\/431\/revisions\/464"}],"wp:attachment":[{"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/media?parent=431"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/categories?post=431"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/feellikelearning.com\/index.php\/wp-json\/wp\/v2\/tags?post=431"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}