#NEWLINE# def formfield( self , **kwargs ) : #NEWLINE# #INDENT# if ( 'form_class' not in kwargs ) : #NEWLINE# #INDENT# kwargs [ 'form_class' ] = self . form_class #NEWLINE# #UNINDENT# field = super ( JSONFieldBase , self ) . formfield ( ** kwargs ) #NEWLINE# if isinstance ( field , JSONFormFieldBase ) : #NEWLINE# #INDENT# field . load_kwargs = self . load_kwargs #NEWLINE# #UNINDENT# if ( not field . help_text ) : #NEWLINE# #INDENT# field . help_text = 'Enter valid JSON' #NEWLINE# #UNINDENT# return field