Re: using variable in django template

2021-02-16 Thread Kasper Laudrup
On 16/02/2021 13.18, Jiffin George Kokkat wrote: Hi guys, i want to declare a variable in django template and update value of variable inside a loop https://pythoncircle.com/post/701/how-to-set-a-variable-in-django-template/ https://pythoncircle.com/post/685/for-loop-in-django-template

using variable in django template

2021-02-16 Thread Jiffin George Kokkat
Hi guys, i want to declare a variable in django template and update value of variable inside a loop how to do Thanks, Jiffin George Kokkat -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiv

Re: Show the output of python variable in django template

2016-11-11 Thread Marlysson Silva
How are your code, view..? Em sexta-feira, 11 de novembro de 2016 09:07:26 UTC-3, Dattatreya Sadhu escreveu: > > I am building a chat bot application. > i have created a form in my html view and send a post request and in > python i am able to capture it > > but i am not able to send my result i

Show the output of python variable in django template

2016-11-11 Thread Dattatreya Sadhu
I am building a chat bot application. i have created a form in my html view and send a post request and in python i am able to capture it but i am not able to send my result in python in django template -- You received this message because you are subscribed to the Google Groups "Django user

Re: variable in django template

2013-10-23 Thread Leonardo Giordani
Indeed this is a good solution. Just a typo correction, use "%" instead of "@". Leo Leonardo Giordani Author of The Digital Cat My profile on About.me - My GitHub page- My Coderwall profile

Re: variable in django template

2013-10-23 Thread Nicolas Pantel
Take a look at the "{@ with @}" template tag in the documentation. Use {@ with myVariable=someValue @} ... {@ endwith @}. NicoP Le 23 oct. 2013 07:01, "Harjot Mann" a écrit : > > I want to initialize a varibale in django template from zero, which I > want to comapre with the some job_no whihc is

Re: variable in django template

2013-10-23 Thread Leonardo Giordani
Hi, everything you need in a template can be prepared in a view, so if you need a specific value just pass a context key with that very value. Otherwise, if you need a list of integers, just pass a range(N) list. There is a plenty of builtin filters and tags you can then use to manage it. If you

variable in django template

2013-10-22 Thread Harjot Mann
I want to initialize a varibale in django template from zero, which I want to comapre with the some job_no whihc is coming from database. I am not getting hoe to decalre a variable. Please help me . -- Harjot Kaur Mann Blog: http://harjotmann.wordpress.com/ Daily Dairy: http://harjotmann.wordpress