Hi,
I use a formWizard for a signup process:
url(r'^signup/student/$', SignupStudentWizard([SignupForm,
StudentForm]),
{'extra_context':{"type":"student"}}, name='signup_student',),
Now, used as it is it works fine.
However in one case i need to pass extra_context data at run_time, to
display the signup page and a message related to an invitation.
I tried the following:
View
return HttpResponseRedirect(reverse('signup_student', kwargs=
{ 'extra_context': {'message':'woot',} }))
It fails:
NoReverseMatch at /account/invite/qsd/
Reverse for 'signup_student' with arguments '()' and keyword arguments
'{'extra_context': {'message': 'woot'}}' not found.
How would you approach the problem ?
Thanks
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---