Exemplo n.º 1
0
def redirect_to(*args, **kw):
    '''A routes.redirect_to wrapper to retain the i18n settings'''
    kw['__ckan_no_root'] = True
    if are_there_flash_messages():
        kw['__no_cache__'] = True
    return _redirect_to(url_for(*args, **kw))
Exemplo n.º 2
0
Arquivo: helpers.py Projeto: HHS/ckan
def redirect_to(*args, **kw):
    '''A routes.redirect_to wrapper to retain the i18n settings'''
    kw['__ckan_no_root'] = True
    if are_there_flash_messages():
        kw['__no_cache__'] = True
    return _redirect_to(url_for(*args, **kw))
Exemplo n.º 3
0
def redirect_to(*args, **kw):
    '''A routes.redirect_to wrapper to retain the i18n settings'''
    kw['__ckan_no_root'] = True
    return _redirect_to(url_for(*args, **kw))
Exemplo n.º 4
0
def redirect_to(*args, **kw):
    """A routes.redirect_to wrapper to retain the i18n settings"""
    kw["__ckan_no_root"] = True
    if are_there_flash_messages():
        kw["__no_cache__"] = True
    return _redirect_to(url_for(*args, **kw))
Exemplo n.º 5
0
def redirect_to(*args, **kw):
    '''A routes.redirect_to wrapper to retain the i18n settings'''
    return _redirect_to(url_for(*args, **kw))