Greetings:

I have a form with a listbox that has people's names and their ID from the 
database.  I am trying to get the ID from that list for the selected person 
so I can use it in ORM statements: I.E. v1 = Visit.objects.filter(person_id 
= ??) where ?? is the ID from the select list.

Has anyone had any experience on how I can accomplish this?

Thanks.

-- 
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+unsubscr...@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/12b0da2c-359c-4da2-ac13-9e627a91c12d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to