code: def get_config_data(self, request, obj, name):
          
          return_value = None
          config = None
          if obj:
              try:
                  config = getattr(obj, self.app_config_attribute, False)
              except ObjectDoesNotExist:  # pragma: no cover
                  pass
          if not config and self.app_config_attribute in request.GET:
              config_model = get_apphook_model(self.model, self.app_config_attribute)
              try:
                  config = config_model.objects.get(pk=request.GET[self.app_config_attribute])
              except config_model.DoesNotExist:  # pragma: no cover
                  pass
          if config:
              return_value = getattr(config, name)
          return return_value
docs: Method that retrieves a configuration option for a specific AppHookConfig instance
  
          :param request: the request object
          :param obj: the model instance
          :param name: name of the config option as defined in the config form
  
          :return value: config value or None if no app config is found