Added support for basic URL generation without request contexts.
This commit is contained in:
parent
47288231fe
commit
307d1bc4e5
4 changed files with 87 additions and 21 deletions
|
|
@ -70,6 +70,7 @@ class AppContext(object):
|
|||
|
||||
def __init__(self, app):
|
||||
self.app = app
|
||||
self.url_adapter = app.create_url_adapter(None)
|
||||
|
||||
def push(self):
|
||||
"""Binds the app context to the current context."""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue