[Fixed]-Open shell and execute python code with fabric

1👍

Piping code to the manage shell looks very hacky.

I recommend you write a management command or a standalone script instead. Using fabric to run a script on a remote machine should be straight forward.

Leave a comment