Re: Allowing formsets to contribute kwargs to forms they create

2012-04-24 Thread Tom Evans
On Tue, Apr 24, 2012 at 3:23 PM, Andrew Ingram wrote: > I've had the need for this quite frequently, Whenever I'm using a > custom form class with modelformset_factory I almost always end up > having to define a custom formset class that does nothing except pass > an extra kwargs (usually user) to

Re: Allowing formsets to contribute kwargs to forms they create

2012-04-24 Thread Andrew Ingram
I've had the need for this quite frequently, Whenever I'm using a custom form class with modelformset_factory I almost always end up having to define a custom formset class that does nothing except pass an extra kwargs (usually user) to each form. It looks like your approach only adds this facilit

Allowing formsets to contribute kwargs to forms they create

2012-04-24 Thread Tom Evans
Hi all I raised a ticket about this new feature, with patch: https://code.djangoproject.com/ticket/18166 I'd quite like to quickly either complete this or dump the idea. Opinions? Cheers Tom -- You received this message because you are subscribed to the Google Groups "Django developers" gr