{"action":"created","issue":{"url":"https://api.github.com/repos/mitsuhiko/flask/issues/1412","labels_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1412/labels{/name}","comments_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1412/comments","events_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1412/events","html_url":"https://github.com/mitsuhiko/flask/issues/1412","id":65413791,"number":1412,"title":"url_for to another application during request?","user":{"login":"warik","id":3456803,"avatar_url":"https://avatars.githubusercontent.com/u/3456803?v=3","gravatar_id":"","url":"https://api.github.com/users/warik","html_url":"https://github.com/warik","followers_url":"https://api.github.com/users/warik/followers","following_url":"https://api.github.com/users/warik/following{/other_user}","gists_url":"https://api.github.com/users/warik/gists{/gist_id}","starred_url":"https://api.github.com/users/warik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warik/subscriptions","organizations_url":"https://api.github.com/users/warik/orgs","repos_url":"https://api.github.com/users/warik/repos","events_url":"https://api.github.com/users/warik/events{/privacy}","received_events_url":"https://api.github.com/users/warik/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mitsuhiko/flask/labels/question","name":"question","color":"f7c6c7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-03-31T10:03:36Z","updated_at":"2015-04-01T19:36:23Z","closed_at":"2015-03-31T12:00:26Z","body":"Assuming I have more than one Flask application (I'm using blueprints too, so there is not need to advice me them) and I want to build url from one to another. With no request context I was just using forced context of target application and it worked. But what should I do with existing request context? If i receive request to one application and want to do redirect to another one?\r\n\r\nOr, in another words, why url_for first of all searches for request context? Maybe it should be optional, through _external parameter for example?\r\n\r\nPlease, do not send me to stackoverflow, my question about similar problem is hanging for more than a week with no responses at all."},"comment":{"url":"https://api.github.com/repos/mitsuhiko/flask/issues/comments/88605571","html_url":"https://github.com/mitsuhiko/flask/issues/1412#issuecomment-88605571","issue_url":"https://api.github.com/repos/mitsuhiko/flask/issues/1412","id":88605571,"user":{"login":"warik","id":3456803,"avatar_url":"https://avatars.githubusercontent.com/u/3456803?v=3","gravatar_id":"","url":"https://api.github.com/users/warik","html_url":"https://github.com/warik","followers_url":"https://api.github.com/users/warik/followers","following_url":"https://api.github.com/users/warik/following{/other_user}","gists_url":"https://api.github.com/users/warik/gists{/gist_id}","starred_url":"https://api.github.com/users/warik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/warik/subscriptions","organizations_url":"https://api.github.com/users/warik/orgs","repos_url":"https://api.github.com/users/warik/repos","events_url":"https://api.github.com/users/warik/events{/privacy}","received_events_url":"https://api.github.com/users/warik/received_events","type":"User","site_admin":false},"created_at":"2015-04-01T19:36:23Z","updated_at":"2015-04-01T19:36:23Z","body":"Ok, how is database related to how many applications do I have? App in terms web application - Yes, its same. App in terms flask.Flask application instances - than No, currently i have 4 of them, each one responsible for separate part of the project."}}