Beispiel #1
0
 def fetch_page_threads(self):
   page = Key(urlsafe=self.request.get('key')).get()
   next_url = self.request.get('next_url')
   fetch_threads(page, next_url)
   page.last_fetched = datetime.now()
   page.put()
Beispiel #2
0
 def fetch_pages_for_user(self):
   user = Key(urlsafe=self.request.get('key')).get()
   fetch_pages(user)
   user.last_fetched = datetime.now()
   user.put()