Re: custom field: clean-method not called ...

2008-08-27 Thread patrickk
ah, thanks a lot. this is it ... defaults = {'max_length': self.max_length} defaults['form_class'] = FileBrowseFormField defaults['widget'] = FileBrowseWidget(attrs=attrs) patrick. On Aug 27, 11:11 am, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Wed, 2008-08-27 at 01:42 -0700, patrickk

Re: custom field: clean-method not called ...

2008-08-27 Thread Malcolm Tredinnick
On Wed, 2008-08-27 at 01:42 -0700, patrickk wrote: > I´m just trying to write a custom field for the django filebrowser (a > filebrowsefield). the __init__ method of the form-field is called, but > the clean method is not ... instead the clean method of > forms.CharField is called, which is stran

custom field: clean-method not called ...

2008-08-27 Thread patrickk
I´m just trying to write a custom field for the django filebrowser (a filebrowsefield). the __init__ method of the form-field is called, but the clean method is not ... instead the clean method of forms.CharField is called, which is strange, because a) I´ve made a model field (FileBrowseField) wit