code: def getCodename(locale=None, providers=None):
          
          from django.conf import settings
          # language
          locale = locale or getattr(settings,'FAKER_LOCALE', getattr(settings,'LANGUAGE_CODE', None))
          # providers
          providers = providers or getattr(settings,'FAKER_PROVIDERS', None)
  
          codename = locale or 'default'
  
          if providers:
              codename += "-" + "-".join(sorted(providers))
  
          return codename
docs: codename = locale[-Provider]*