Wednesday, June 1, 2011

Re: Passing parameters to form class

On Jun 1, 11:39 am, skyde <madpoe...@gmail.com> wrote:
> Thank you very much! I had not realised the self.fields['vaihtoehdot']
> part!
>
> Best regards,
> skyde

For what it's worth (as this question comes up from time to time and,
occasionally, people actually search in the archives before asking
again...), I'll add links to these excellent blog posts, by two of
Django's core developers, on this topic:

http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/
http://jacobian.org/writing/dynamic-form-generation/

--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment