第七色在线视频,2021少妇久久久久久久久久,亚洲欧洲精品成人久久av18,亚洲国产精品特色大片观看完整版,孙宇晨将参加特朗普的晚宴

為了賬號安全,請及時綁定郵箱和手機立即綁定
已解決430363個問題,去搜搜看,總會有你想問的

前面一路過來都正確,在后面步驟中出錯了,是哪個原因

前面一路過來都正確,在后面步驟中出錯了,是哪個原因

大漠孤雁 2019-10-28 23:35:27
Page not found?(404)Request Method:GETRequest URL:http://127.0.0.1:8000/blog/index/Using the URLconf defined in?myblog.urls, Django tried these URL patterns, in this order:admin/blog/The current path,?blog/index/, didn't match any of these.You're seeing this error because you have?DEBUG = True?in your Django settings file. Change that to?False, and Django will display a standard 404 page.python3.6+django2.0url.py如下:from?django.contrib?import?admin from?django.urls?import?path from?blog?import?views urlpatterns?=?[ ????path('admin/',?admin.site.urls), ????path('blog/',?views.index),views.py如下:from?django.shortcuts?import?render from?blog?import?models def?index(request): ????article?=?models.Article.objects.get(pk=1) ????return?render(request,?'blog.html',?{'article':?article})
查看完整描述

目前暫無任何回答

  • 0 回答
  • 0 關注
  • 1243 瀏覽

添加回答

舉報

0/150
提交
取消
微信客服

購課補貼
聯(lián)系客服咨詢優(yōu)惠詳情

幫助反饋 APP下載

慕課網(wǎng)APP
您的移動學習伙伴

公眾號

掃描二維碼
關注慕課網(wǎng)微信公眾號