define the method __init__ with 5 arguments: self, data, encoder set to DjangoJSONEncoder, safe set to boolean True,
def __init__ ( self , data , encoder = DjangoJSONEncoder , safe = True , ** kwargs ) :