1👍
✅
You have missed out a hyphen in this regex:
(?P<pk>[09]+)
That means the regex only accepts 0s and 9s.
It should be:
(?P<pk>[0-9]+)
Then it will accept the digits 0 to 9.
Source:stackexchange.com