> Use fields instead of base_fields : > > 1. > class TestForm(forms.Form): > def __init__(self, *args, **kwargs): > super(ArrivalForm, self).__init__(*args, **kwargs) > self.fields['somefield'].label = 'foo' > > somefield = forms.IntegerField()
Yells "d'oh!" and slaps forehead. Thanks! -- Kirk Strauser
signature.asc
Description: This is a digitally signed message part.