1👍
You forget to put \
before d
, \d
matches any digit character where unescaped d
would match a literal d
only.
url(r'^/students/(\d+)/$', 'schoolapp.views.liststudents', name='list_students')
^
Source:stackexchange.com