space in URL translates to %20. Basically, you’ll need to encode the URL. Try 
this link for https://www.urlencoder.org quick encode/decode trials.

I don’t understand the second part of replacing space character in HTML. Can 
you explain what you are trying to do?

Abishek
On 15 Jul 2019, 1:49 AM +0800, 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.
> 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/9d410d47-2546-4b43-be67-9868cb20b99c%40Spark.
For more options, visit https://groups.google.com/d/optout.

Reply via email to