Django compatibility