예제 #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))
예제 #2
0
파일: helpers.py 프로젝트: 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))
예제 #3
0
파일: helpers.py 프로젝트: icmurray/ckan
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))
예제 #4
0
파일: helpers.py 프로젝트: Brackets/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))
예제 #5
0
파일: helpers.py 프로젝트: zydio/ckan
def redirect_to(*args, **kw):
    '''A routes.redirect_to wrapper to retain the i18n settings'''
    return _redirect_to(url_for(*args, **kw))