Improve Django startup, avoid ContentType queries during imports