def METHOD_NAME(self, urlconf=None):
    self.clear_url_caches()
    if urlconf is None:
        urlconf = self.settings.ROOT_URLCONF
    if urlconf in self.sys.modules:
        self.reload(self.sys.modules[urlconf])
    else:
        self.import_module(urlconf)