此处有语法错误: path('display_data/<str:component>', views.display_data, name=
'display_data'),
正确的写法为:path(r'^display_data/<str:component>/$', views.display_data, name=
'display_data/'),

请记住,一定要加 /

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAHfGPEe6TDiKM_p4W_%2BpsJtp3c3-yV5%3DtFouXXwKqoHORWqPng%40mail.gmail.com.

Reply via email to