djongo/models/fields.py
def formfield(self, **kwargs):
        """
        Returns the formfield for the array.
        """
        defaults = {
            'form_class': ArrayFormField,
            'model_container': self.model_container,
            'model_form_class': self.model_form_class,
            'name': self.attname,
            'mdl_form_kw_l': self.model_form_kwargs_l

        }
        defaults.update(kwargs)
        return super().formfield(**defaults)
def formfield(self, **kwargs):
        defaults = {
            'form_class': ArrayFormField,
            'model_container': self.model_container,
            'model_form_class': self.model_form_class,
            'name': self.attname,
            'mdl_form_kw_l': self.model_form_kwargs_l

        }
        defaults.update(kwargs)
        return super().formfield(**defaults)
def formfield ( self , * * kwargs ) : defaults = { 'form_class' : ArrayFormField , 'model_container' : self . model_container , 'model_form_class' : self . model_form_class , 'name' : self . attname , 'mdl_form_kw_l' : self . model_form_kwargs_l } defaults . update ( kwargs ) return super ( ) . formfield ( * * defaults )
Returns the formfield for the array.
Returns the formfield for the array .