Reputation: 3138
How can I accept any char in url param?
(?P<slug>[-\w]+)
The above is only accepting dashes and alphanum chars.
Upvotes: 0
Views: 51
Reputation: 62948
Dot matches any character:
(?P<slug>.+)
Upvotes: 2