예제 #1
0
 def get(self):
     cnt = 0
     for bl in BlipLink.all():
         bl.date_blip_created = bl.blip.date_created
         bl.put()
         cnt += 1
     self.response.out.write('build %s blip links' % cnt)
예제 #2
0
 def call(self, out):
     for bliplink in BlipLink.all():
         blip = bliplink.blip
         bliplink.text = blip.text
         bliplink.date_blip_created = blip.date_created
         bliplink.author = blip.user
         bliplink.meeting = blip.meeting
         bliplink.attachment = blip.attachment
         bliplink.put()