0
我收到以下錯誤,當我嘗試創建鶺鴒管理新頁面時:鶺鴒說:「找不到網頁」,試圖創造鶺鴒管理一個新的頁面
Page not found (404)
Request Method: GET
Request URL: http://127.0.0.1:8000/wagtail-admin/pages/add/blog/homepage/1/
Raised by: wagtail.wagtailadmin.views.pages.create
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.
我已經添加了新的頁型號爲models.py
像這樣:
...
class HomePage(Page):
pass
...
我在做什麼錯了?