docs: def _get_fields(self, fields, excludes, hotfixes):
          '''
          Given any explicit fields to include and fields to exclude, add
          additional fields based on the associated model. If the field needs a hotfix, apply it.
          '''
          final_fields = {}
          fields = fields or []
          excludes = excludes or []
  
          for f in self.model._meta.fields:
              # If the field name is already present, skip
              if f.name in self.fields:
                  continue
  
              # If field is not present in explicit field listing, skip
              if fields and f.name not in fields:
                  continue
  
              # If field is in exclude list, skip
              if excludes and f.name in excludes:
                  continue
  
              # If field is a relation, skip.
              if getattr(f, 'rel'):
                  continue
  
              attr = {'model_attr': f.name}
              if f.has_default():
                  attr['null_value'] = f.default
  
              if f.name in hotfixes:
                  attr.update(hotfixes[f.name])
  
              final_fields[f.name] = django_field_to_index(f, **attr)
  
          return final_fields