1👍
✅
Try the following url pattern:
url(r'^(?P<item_url>[\w-]+)/$', 'detail'),
[\w-]+
will match one or more alphanumeric characters or hyphens.
Source:stackexchange.com