Template programming

22 views
Skip to first unread message

Scyil sharma

unread,
Jul 14, 2019, 1:49:47 PM7/14/19
to django...@googlegroups.com
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

Abishek Goda

unread,
Jul 14, 2019, 6:44:07 PM7/14/19
to django...@googlegroups.com
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
--
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 django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
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.

Aldian Fazrihady

unread,
Jul 14, 2019, 7:27:57 PM7/14/19
to django...@googlegroups.com

--
Reply all
Reply to author
Forward
0 new messages