I would try creating a view that uses a form factory to define some
dynamic forms.
This post explains how to create a dynamic form factory:
http://www.b-list.org/weblog/2008/nov/09/dynamic-forms/

and then I'd return the Wizard that has the new forms as arguments.

I bet it would work, but I haven't tried it.

On Sep 18, 3:45 am, nostradamnit <sam.cranf...@gmail.com> wrote:
> I'm trying to use a FormWizard for a 2 step form. In the first form, I
> want to populate the email and post code fields with data from the
> current user (request.user.email, request.user.profile.code_postal),
> but I can't see how to pass the data dictionary to the form?!? I see
> how to pass initial data from the urls.py, but I don't have access to
> the request object there :(
>
> Thanks in advance,
> Sam
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to