django url pattern for %20
I was able to make it work using the configuration given below. Check if it will suit your needs.
(?P<name>[\w|\W]+)
The best way to do that and allow others chars is using '\s' that is any spaces, tabs and new lines
(?P<name>[\w\s]+)
If you only want to allow space:
(?P<name>[\w\ ]+)