Karrigell/Redirect to a URL
Jump to navigation
Jump to search
To perform an HTTP redirection to a URL, use the built-in exception HTTP_REDIRECTION :
def index():
raise HTTP_REDIRECTION(other_url)