[Fixed]-Can't add extra argument to Python(Django) function call

1👍

serializer = WriteIssueSerializer(data=issue_dict, file=file, context=self.get_serializer_context())

This calls the constructor of WriteIssueSerializer (__init__()), not .create(). So you have to create the extra argument in there, or call .create().

Leave a comment