Maybe, but the template seems like a bad place to do that. Why not
create a derived widget with your custom tweaks in it, and use it for
appropriate fields?
Or are you introspecting someone else's code that you don't want
to customize?
On Tue, Dec 1, 2009 at 2:14 PM, Jon wrote:
> I'm trying to
I'm trying to figure out how to determine a model form field's widget
type from the template.
I would like to loop through the fields as opposed to writing out each
field explicitly in the template, but in order to loop through them, I
need to know the widget type so I can do something special wit
2 matches
Mail list logo