def set_urlconf(urlconf_name):
 thread = currentThread()
 if urlconf_name:
  _urlconfs[thread] = urlconf_name
 elif (thread in _urlconfs):
  del _urlconfs[thread]

def set_urlconf ( urlconf_name ) : thread = currentThread ( ) if urlconf_name : _urlconfs [ thread ] = urlconf_name elif ( thread in _urlconfs ) : del _urlconfs [ thread ]
sets the urlconf for the current thread .