这是错误:
Page not found (404)
Request Method:
GET
Request URL:
http://localhost:8000/pagePeople/18/
Using the URLconf defined in RepSys.urls, Django tried these URL patterns, in this order:
1. admin/
2. [name='index']
3. signup/ [name='signup']
4. accounts/
5. logout/ [name='logout']
6. BasketPeople/ [name='index']
7. Following/ [name='index']
8. searchObject/ [name='searchObject']
9. pageObject/ [name='pageObject']
10. pagePeople/(?P<peopleId>\w{0,50})/$ [name='pagePeople']
和我的urls.py:
path("pagePeople/(?P<peopleId>\w{0,50})/$", views.pagePeople, name="pagePeople"),
我正在尝试获取此网址:
http://localhost:8000/pagePeople/18/
我挠头
致谢