[Answer]-Wrong url regex keeps django busy

1👍

Try the following url pattern:

url(r'^(?P<item_url>[\w-]+)/$', 'detail'),

[\w-]+ will match one or more alphanumeric characters or hyphens.

Leave a comment