user_image
By  tigerkin3265903585    On   2020年7月18日 13:09

按照老师的步骤,运行后报这个错: Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/assets/dashboard/ Using the URLconf defined in CMDB.urls, Django tried these URL patterns, in this order: admin/ The current path, assets/dashboard/, 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.