Mar-06-2020, 11:19 PM
(Mar-05-2020, 10:35 AM)scidam Wrote: What did you expect fromurlencode
? Could you provide example with specific value of t and desired result after applyingurlencode
. Note, that urlencode can take additional argument, characters that should be skipped when encoding; by default, it is only backslash char; If you want to disable skipping characters at all, you can do by providing empty string as a parameter, e.g.{{ t|urlencode:"" }}
. Hope that helps.
I folow this link : https://docs.djangoproject.com/en/3.0/re.../builtins/
I would like to encode the url
<a href="/theme/{{t|urlencode}}">