Hi all,
I'm trying to learn newforms. I create a form with form_for_model
and now present 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
*:-)
NOTE: I'm sending this again since it doesn't appear on google after 14
hours. First time sent via web now via mail. It's not the first time I
experiment this problem! ;-(
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---