📜  在此服务器上找不到请求的资源. django - Python 代码示例

📅  最后修改于: 2022-03-11 14:47:10.186000             🧑  作者: Mango

代码示例1
You're including this file, from this file recursively.

Remove this line, it's redundant because you're writing it from within myrms/urls.py:

path('myrms/', include('myrms.urls')),
Change the URL of your view to match the URL you're accessing:

path('myrms/', views.index,name = 'index'),
Alternatively, access a different URL: http://localhost:8000/

Ensure that ROOT_URLCONF is set to myrms.urls.