This ticket has a patch to pass through the "widgets" argument for generic 
class-based views.

It was closed with "won't fix" with this comment: "*I don't think the 
possibility of saving a few lines of user code justifies the complexity of 
reimplementing the parameters to modelform_factory() as CBV parameters and 

I don't understand. The patch was quite small (doesn't seem complex), and 
it could give everyone the ability to overload widgets.

Aside from just saving lines of code, it also would act more as expected. I 
tried using "widgets" before seeing that it didn't work. Also, it would 
support not making a new form class where every field just has to be copied 
(useless boilerplate).

Can you accept the patch?

You received this message because you are subscribed to the Google Groups 
"Django developers  (Contributions to Django itself)" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
To view this discussion on the web visit
For more options, visit

Reply via email to