support for other django versions