Commits

Marcin Lulek committed f05134a

url generator should also be available in handlers as self.url_generator

  • Participants
  • Parent commits 2270081

Comments (0)

Files changed (1)

akhet/paster_templates/akhet/+package+/handlers/base.py_tmpl

 class Handler(object):
     def __init__(self, request):
         self.request = request
-
+        self.url_generator = request.url_generator 
         #c = self.request.tmpl_context
         #c.something_for_site_template = "Some value."