  
      @cached_property
      def unsupported_functions(self):
          unsupported = {'BoundingCircle', 'ForceRHR', 'IsValid', 'MakeValid', 'MemSize'}
          if self.spatial_version < (3, 1, 0):
              unsupported.add('SnapToGrid')
          if self.spatial_version < (4, 0, 0):
              unsupported.update({'Perimeter', 'Reverse'})
          elif not self.lwgeom_version():
              unsupported.add('GeoHash')
          return unsupported
  
      @cached_property
      def spatial_version(self):
 
</s> remove             'Translate': 'ST_Translate' if self.spatial_version >= (3, 1, 0) else 'ShiftCoords',
 </s> add             'Translate': 'ST_Translate', </s> remove         if version < (3, 0, 0):
            raise ImproperlyConfigured('GeoDjango only supports SpatiaLite versions 3.0.0 and above.')
 </s> add         if version < (4, 0, 0):
            raise ImproperlyConfigured('GeoDjango only supports SpatiaLite versions 4.0.0 and above.') </s> remove             type_col = 'type' if self.connection.ops.spatial_version < (4, 0, 0) else 'geometry_type'
            cursor.execute('SELECT coord_dimension, srid, %s '
 </s> add             cursor.execute('SELECT coord_dimension, srid, geometry_type ' </s> remove                            'WHERE f_table_name=%%s AND f_geometry_column=%%s' % type_col,
 </s> add                            'WHERE f_table_name=%s AND f_geometry_column=%s',
        if not self.lwgeom_version():
  
      @cached_property
      def unsupported_functions(self):
          unsupported = {'BoundingCircle', 'ForceRHR', 'IsValid', 'MakeValid', 'MemSize'}
        if not self.lwgeom_version():
        if not self.lwgeom_version():
        if not self.lwgeom_version():
        if not self.lwgeom_version():
        if not self.lwgeom_version():
              unsupported.add('GeoHash')
          return unsupported
  
      @cached_property
      def spatial_version(self):
keep keep keep keep replace replace replace replace replace keep keep keep keep keep
 Fixed #25645 -- Dropped support for SpatiaLite < 4.0. 
django/contrib/gis/db/backends/spatialite/operations.py