user_image
By  湛蓝的微风    On   2018年1月25日 19:30

这是后台页面显示的报错内容,请老师过目: Page not found (404) Request Method: GET Request URL: http://127.0.0.1:8000/admin/polls/43/ Using the URLconf defined in perfectCRM.urls, Django tried these URL patterns, in this order: admin/ [name='index'] admin/ login/ [name='login'] admin/ logout/ [name='logout'] admin/ password_change/ [name='password_change'] admin/ password_change/done/ [name='password_change_done'] admin/ jsi18n/ [name='jsi18n'] admin/ r/<int:content_type_id>/<path:object_id>/ [name='view_on_site'] admin/ auth/group/ admin/ auth/user/ admin/ polls/question/ admin/ ^(?P<app_label>auth|polls)/$ [name='app_list'] ^polls/ The current path, admin/polls/43/, 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. 在polls/后的正则都匹配不到,不知何故