2👍
✅
Your regex does not support the -
Hence the error. change \w+
to [\w-]+
Try this:
url(r'^items/(?P<item>[\w-]+)/$', 'dispatcher', name="dispatcher")
Source:stackexchange.com