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

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@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