Re: Displaying select box data back to the same form - with correct value already selected.

2009-06-10 Thread NealWalters
Yes, I am using Django forms. This is a variation of the question I posted on the checkboxes. My interim solution is to have a list of objects, set the Selected value in Python, then put a for/loop in the Django form. Neal --~--~-~--~~~---~--~~ You received this m

Re: Displaying select box data back to the same form - with correct value already selected.

2009-06-10 Thread Jashugan
Have you tried using Django forms? (http://docs.djangoproject.com/en/ dev/topics/forms/) --~--~-~--~~~---~--~~ 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@googlegr

Displaying select box data back to the same form - with correct value already selected.

2009-06-08 Thread NealWalters
For simple input fields, I'm echoing back the data from database to form like this: Your Domain (example: JohnDoe.com) If I don't put the "if" statement there, I get the value "None" appearing, which is not desireable from a user's perspective. In this case "session" is the name of database