Add support old django versions