Replace urllib.quote with django.utils.http.urlencode as the later also works for unicode chars