Hi all,

  I'm trying to learn newforms. I create a form with form_for_model 
and now presenti it in the template. A foreign key renders as a select 
widget, that is ok, but how can I limit the values filtering them out?

Should I pass the widget when creating the Form using 
formfield_callback? Can I change the values after the Form is created? 
(or after the instance is created?)

Thanks in advance
sandro
*:-)


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to