Support ancient django version.