Monday, April 29, 2019

Displaying Random data on Template

Have you sampled your code in a python ide environment to see if your code works?



On Monday, April 29, 2019, Mayur Bagul <mayur.bagul8@gmail.com> wrote:
Hello Community,

I'm facing one issue that is i have 3 variables each of which consisting list of values.
what i was trying to do is that i have 3 variables from every variable which have  list of value i should get any random value and print it to Template web page.
but it doesn't printing anything of it as well it is not giving any error for what i did.

i'm looking forward to get help on how i can display on single value from each variable on output.
I have attached code of template and view.py to this mail.

Thanking you for your time.

--
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/b3e3ca0b-2003-46f8-8672-eca33e17f698%40googlegroups.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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@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/CAHXGZto-%2Bg2Xx-ERAzbqOcRTL8rS5XmdnJkVG1WXmZrofoB53w%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment