      pass
  
  
  class MemSize(GeoFunc):
      output_field_class = IntegerField
      arity = 1
  
  
  class NumGeometries(GeoFunc):
      output_field_class = IntegerField
 
</s> remove     output_field_class = IntegerField
 </s> add     output_field = IntegerField() </s> remove     output_field_class = IntegerField
 </s> add     output_field = IntegerField() </s> remove     output_field_class = TextField
 </s> add     output_field = TextField() </s> remove     output_field_class = FloatField
 </s> add     output_field = FloatField() </s> remove     output_field_class = FloatField
 </s> add     output_field = FloatField()
    output_field = IntegerField()
      pass
  
  
  class MemSize(GeoFunc):
    output_field = IntegerField()
      arity = 1
  
  
  class NumGeometries(GeoFunc):
      output_field_class = IntegerField
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