code: def get_generic_fields():
      
      generic_fields = []
      for model in apps.get_models():
          for field_name, field in model.__dict__.items():
              if isinstance(field, GenericForeignKey):
                  generic_fields.append(field)
      return generic_fields
docs: Return a list of all GenericForeignKeys in all models.