Separate django from python