Tuesday, April 30, 2019

Accessing single value from multiple values from databse

Hello community,

i have created three fields in my model Data 
  • Two-wheeler
  • four-wheeler
inside each field i have putted 5 values.

now i wanted to display single random value from these two fields every time i click on button. and thats where im getting stuck.
How to do this ?

if any one have resources related to this issue please provide me and help me with your solution.



Thanking you.

--
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/fdbe7f32-301f-494c-862e-aec7de402397%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment