take django server to a subprocess