def get(self): user = access.wall(self) if user: if (user.nickname() in settings.admins): query = datastore.Query("registrant") query.Order('created') records = query.Get(999) self.response.out.write(pages.view(records))
def get(self): query = Registrant.all() registrants = query.fetch(999) # you can only have 999 results at once. todo: fix this self.response.out.write(pages.view(registrants))