code: def reload_settings(*args, **kwargs):
      
      global settings
      setting, value = kwargs['setting'], kwargs['value']
      if setting == XRAY_NAMESPACE:
          settings = XRaySettings(value)
docs: Reload X-Ray user settings upon Django server hot restart