Hello Alexis,

I don't have much to add other than I was in a similar situation to
yours.  I needed to generate an options choice list with radio buttons
for a form on the fly and discovered the "dynamic choices in a
ChoiceField" approach as well.

It seems to be working OK.  Make sure you populate each and every
instance of your from with your choices.  I stumbled on that one for a
bit in relation to processing the request.POST.  Makes sense when you
think about it but may save someone a few cycles! ;-)

Toodle-looooooooo.........
creecode

On Oct 14, 9:40 pm, Alexis Bellido <[EMAIL PROTECTED]> wrote:

> I haven't found the solution yet but after reading a few posts in the
> group I think I have to try the "dynamic choices in a ChoiceField"
> approach and forget about the ModelChoiceField.
>
> There seems to be a few options on getting that done so I'll try
> tomorrow with a fresh brain and will let you know. In the meanwhile,
> if somebody has any idea please let me know.

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to