On Dec 11, 5:08 am, Sævar Öfjörð <saeva...@gmail.com> wrote:
> I think you should provide your choices in the form field, not when
> creating an instance of the form.

Agreed.  To create a dynamic form such as this, the best way would
probably be to use a custom __init__ function.  In your view, when you
create your form, you can pass in a 'queryset=' argument that will do
this for you.

Wayne

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

Reply via email to