Wednesday, September 29, 2010

passing request.META from view to form

I'm creating new users+profiles from a form class.
The form gets instantiated by a view. I'd like to save the request.META
header along with the profile so I need to pass it from the view to the
form.

The form constructor takes the keyword argument data. Is there anyway I
can pass along my entire request, without overloading the constructor?

oivvio

--
http://pipedreams.polite.se/about/


--
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