URL building should work in theory
This commit is contained in:
parent
5da1fc2215
commit
4d6cd1a390
2 changed files with 15 additions and 0 deletions
|
|
@ -180,6 +180,7 @@ def url_for(endpoint, **values):
|
|||
elif endpoint.startswith('.'):
|
||||
endpoint = endpoint[1:]
|
||||
external = values.pop('_external', False)
|
||||
ctx.app.inject_url_defaults(endpoint, values)
|
||||
return ctx.url_adapter.build(endpoint, values, force_external=external)
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue