Update django settings