def get_urlconf(default=None):
 thread = currentThread()
 if (thread in _urlconfs):
  return _urlconfs[thread]
 return default

def get_urlconf ( default = None ) : thread = currentThread ( ) if ( thread in _urlconfs ) : return _urlconfs [ thread ] return default
return the root urlconf to use for the current thread if it has been changed from the default one .