2👍
✅
Your regex enforces 4 character page ids. But your page id is just 1
. Perhaps this pattern would work better:
r'^page/(?P<page_id>[0-9]+)/'
👤wim
Source:stackexchange.com