Example #1
0
 def __init__(self, *args, **kwargs):
     required = kwargs.pop('required', None)
     if required is not None:
         conv = kwargs.get('conv', self.conv)
         kwargs['conv'] = conv(required=required)
     FileFieldSet.__init__(self, *args, **kwargs)
Example #2
0
 def __init__(self, *args, **kwargs):
     required = kwargs.pop("required", None)
     if required is not None:
         conv = kwargs.get("conv", self.conv)
         kwargs["conv"] = conv(required=required)
     FileFieldSet.__init__(self, *args, **kwargs)