#NEWLINE# def to_internal_value( self , data ) : #NEWLINE# #INDENT# if isinstance ( data , dict ) : #NEWLINE# #INDENT# data = json . dumps ( data ) #NEWLINE# #UNINDENT# return forms . GeometryField ( ) . to_python ( data )