Add the entities to the context too
This makes it easier to quickly get specific entities from
the datastore.
Patch by: Sverre Rabbelier
--- a/scripts/stats.py Sun Apr 05 22:51:54 2009 +0000
+++ b/scripts/stats.py Sun Apr 05 23:39:25 2009 +0000
@@ -215,6 +215,11 @@
'getOrgAdmins': getEntities(OrgAdmin),
'getProps': getProps,
'countStudentsWithProposals': countStudentsWithProposals,
+ 'Organization': Organization,
+ 'User': User,
+ 'Student': Student,
+ 'Mentor': Mentor,
+ 'OrgAdmin': OrgAdmin,
}
interactive.remote(args, context)