Set up django environment.