On Aug 7, 2006, at 3:52 PM, hotani wrote:
> Maybe there is a built-in way of doing
> this that I'm missing? All I want to do is have a drop-down be
> 'selected' when the option value matches the session value.


You know that you can use a FormWrapper to set default values for  
your form fields? So in your view, get the value from the session and  
put it into the correct data field of the FormWrapper's new_data  
dictionary.

Don



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to