Add session attribute to view objects.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
This commit is contained in:
brian m. carlson 2014-09-17 23:26:16 +00:00
parent 4b42f4b69e
commit 03395e3235
No known key found for this signature in database
GPG key ID: BF535D811F52F68B

View file

@ -234,6 +234,7 @@ class Session:
self.loop = loop
def render_view(self, view):
view.session = self
view.render(self.loop)
def render_previous_view(self):