Re: passing request.META from view to form

2010-09-29 Thread Shawn Milochik
You can just add another keyword argument to your constructor. If you override the __init__ of your form then just pop that item off before passing it on to the __init__ in super() and nobody gets hurt. ;o) Shawn On Sep 29, 2010, at 6:03 PM, Oivvio Polite wrote: > I'm creating new users+pr

passing request.META from view to form

2010-09-29 Thread Oivvio Polite
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