Added support for basic URL generation without request contexts.

This commit is contained in:
Armin Ronacher 2012-04-09 15:04:35 +01:00
parent 47288231fe
commit 307d1bc4e5
4 changed files with 87 additions and 21 deletions

View file

@ -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."""