报错:
Reverse for 'teacher_t_appointment_app_results' with arguments '(",)' notfound.1 pattern(s) tried: ['student/t_appointment/results(?P<pindex>[0-9]+)川\Z']
方法:引入的url中存在pindex参数用于确定页码,而在url.py中我没有设置页码的参数。改成下面这样就行了
报错:
Reverse for 'teacher_t_appointment_app_results' with arguments '(",)' notfound.1 pattern(s) tried: ['student/t_appointment/results(?P<pindex>[0-9]+)川\Z']
方法:引入的url中存在pindex参数用于确定页码,而在url.py中我没有设置页码的参数。改成下面这样就行了