Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add the request.db attribute as advertized.

  • Loading branch information...
commit ed4b154df8ce6020ceb16e67134c89258258da77 1 parent 6fed42b
@Cito authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  khufu_opinion/paster_template/+package+/resources.py_tmpl
View
1  khufu_opinion/paster_template/+package+/resources.py_tmpl
@@ -9,6 +9,7 @@ class Locatable(object):
class Root(Locatable):
def __init__(self, request):
+ request.db = dbsession(request)
self.request = request
Please sign in to comment.
Something went wrong with that request. Please try again.