be compatible with the newest djang-reversion