You need to create a template filter:
https://docs.djangoproject.com/en/2.2/howto/custom-template-tags/

Or use existing template filter:
https://docs.djangoproject.com/en/2.2/ref/templates/builtins/

Regards,

Aldian Fazrihady
http://aldianfazrihady.com

On Mon, 15 Jul 2019, 00:49 Scyil sharma, <[email protected]> wrote:

> I have space separated words in url.
> How to replace space by an character in html file.
> I know it is easy in view. Py but how to do in html
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMHmfnjsmMJ%2BzJj%2B9gZxhcjQnWkyK1boHEX8s2rRjo_6cZg%3D_A%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAMHmfnjsmMJ%2BzJj%2B9gZxhcjQnWkyK1boHEX8s2rRjo_6cZg%3D_A%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAN7EoAZY7XXz19ZJ4ppU2bQKfFSdRpTGwq2Bnb%2BR3OaFpq_mvA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to