Update django compatibility