Re: Template programming

2019-07-14 Thread Aldian Fazrihady
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, w

Re: Template programming

2019-07-14 Thread Abishek Goda
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

Template programming

2019-07-14 Thread Scyil sharma
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