def url_dequery(url):
    url = urlparse.urlparse(url)
    return urlparse.urlunparse((url.scheme,
                                url.netloc,
                                url.path,
                                url.params,
                                '',
                                url.fragment))
Get a url without the language part, if i18n urls are defined
dataset/ETHPy150Open StartTheShift/pyoauth2/pyoauth2/utils.py/url_dequery--crossover with--dataset/ETHPy150Open Wtower/django-ninecms/ninecms/utils/nodes.py/get_clean_url