old_contents: from django.conf import settings
  from rest_framework.settings import APISettings
  
  
  USER_SETTINGS = getattr(settings, 'JWT_GRAPHENE', None)
  
  DEFAULTS = {
      'JWT_GRAPHENE_USER_ONLY_FIELDS': None,
      'JWT_GRAPHENE_USER_EXCLUDE_FIELDS': None,
  }
  
  IMPORT_STRINGS = (
  )
  
  api_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
  
new_contents: from django.core.exceptions import ImproperlyConfigured
  from django.conf import settings
  from rest_framework.settings import APISettings
  
  
  USER_SETTINGS = getattr(settings, 'JWT_GRAPHENE', None)
  
  DEFAULTS = {
      'JWT_GRAPHENE_USER_ONLY_FIELDS': None,
      'JWT_GRAPHENE_USER_EXCLUDE_FIELDS': None,
  }
  
  IMPORT_STRINGS = (
  )
  
  api_settings = APISettings(USER_SETTINGS, DEFAULTS, IMPORT_STRINGS)
  
  if api_settings.JWT_GRAPHENE_USER_ONLY_FIELDS is not None and api_settings.JWT_GRAPHENE_USER_EXCLUDE_FIELDS is not None:
      raise ImproperlyConfigured("can't set both JWT_GRAPHENE_USER_ONLY_FIELDS and JWT_GRAPHENE_USER_EXCLUDE_FIELDS")
  
subject: validate settings when they are first used