Store django settings into database