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
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
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
3 matches
Mail list logo