#13633: Add a widget_callback to forms, modelforms, etc
----------------------+-----------------------------------------------------
 Reporter:  russellm  |       Owner:  nobody    
   Status:  new       |   Milestone:            
Component:  Forms     |     Version:  1.2       
 Keywords:            |       Stage:  Unreviewed
Has_patch:  0         |  
----------------------+-----------------------------------------------------
 Modelforms currently support (although undocumented) a formfield_callback
 method that can be used to control the widgets that are used for a form
 field. We also support the definition of a 'widgets' attribute in the Meta
 of a modelform that allows you to override the widget for a particular
 model field based on the name of the attribute.

 We should be able to define a callback to alter the widget
 programatically, based on the form field that is being rendered.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13633>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en.

Reply via email to