Set new django setting. Put tornado code in a seperate file.