Modern Django compatibility.