          returns a tuple of the (min_value, max_value) form representing the
          range of the column type bound to the field.
          """
          return self.integer_field_ranges[internal_type]
 
</s>
    def subtract_temporals(self, internal_type, lhs, rhs):
        if self.connection.features.supports_temporal_subtraction:
            lhs_sql, lhs_params = lhs
            rhs_sql, rhs_params = rhs
            return "(%s - %s)" % (lhs_sql, rhs_sql), lhs_params + rhs_params
        raise NotImplementedError("This backend does not support %s subtraction." % internal_type)
          returns a tuple of the (min_value, max_value) form representing the
          range of the column type bound to the field.
          """
          return self.integer_field_ranges[internal_type]
    def subtract_temporals(self, internal_type, lhs, rhs):
        if self.connection.features.supports_temporal_subtraction:
            lhs_sql, lhs_params = lhs
            rhs_sql, rhs_params = rhs
            return "(%s - %s)" % (lhs_sql, rhs_sql), lhs_params + rhs_params
        raise NotImplementedError("This backend does not support %s subtraction." % internal_type)
keep keep keep add
 Fixed #24793 -- Unified temporal difference support.
django/db/backends/base/operations.py