          return clone.as_sql(compiler, connection)
  
  
  class AsSVG(GeoFunc):
      output_field_class = TextField
  
      def __init__(self, expression, relative=False, precision=8, **extra):
          relative = relative if hasattr(relative, 'resolve_expression') else int(relative)
          expressions = [
              expression,
 
</s> remove     output_field_class = TextField
 </s> add     output_field = TextField() </s> remove     output_field_class = TextField
 </s> add     output_field = TextField() </s> remove     output_field_class = TextField
 </s> add     output_field = TextField() </s> remove         super().__init__(lhs, self.SUB, rhs, output_field=fields.DurationField())
 </s> add         super().__init__(lhs, self.SUB, rhs) </s> remove 
    def __init__(self, y, x, filter=None):
        super().__init__(y=y, x=x, output_field=IntegerField(), filter=filter)
 </s> add     output_field = IntegerField()
    output_field = TextField()
          return clone.as_sql(compiler, connection)
  
  
  class AsSVG(GeoFunc):
    output_field = TextField()
  
      def __init__(self, expression, relative=False, precision=8, **extra):
          relative = relative if hasattr(relative, 'resolve_expression') else int(relative)
          expressions = [
              expression,
keep keep keep keep replace keep keep keep keep keep
 Fixed #28492 -- Defined default output_field of expressions at the class level.

This wasn't possible when settings were accessed during Field initialization
time as our test suite setup script was triggering imports of expressions
before settings were configured. 
django/contrib/gis/db/models/functions.py