Commits

Anonymous committed afa382b

add admin context

Comments (0)

Files changed (1)

satchel/templates/default_project/+package+/models/root.py_tmpl

         if request.user:
             self['account'] = request.user
 
-        admin = AdminContainer()
+        admin = AdminContainer(self)
         if request.has_permission(admin):
             self['admin'] = admin