The ID is an integer as it is the ID for the table. The name is a VARCHAR.
I have had this same problem in the past with other programming languages. How to get my head around how to get the ID for a selected item.
On Friday, 15 June, 2018 10:09 PM, Anthony Anonde wrote:
Sorry your question is a bit complicated, you have a form that contains a list of names and id, what data types are they contain in? Understand how the list box is structured will help to give you a better ans
-- 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/9d61cf55-43b1-a7ac-2a87-894227cf4b91%40gmail.com. For more options, visit https://groups.google.com/d/optout.