Hi, I'm kinda new to django, and I ran into a problem I'm making a cutom form, and one of the field I want it to be SelectField. the problem is I dont want to hard code the choices in, I want to generate a set of choice I can use from the data i already have. For example, I have a lot of polls, and I want the choices to be all the polls posted by user root. How would I come to do that? I thank you inadanvace for the help.
--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---