app/soc/tasks/updates/student_school_type.py
changeset 2932 666d31bd43bd
parent 2930 74d4875b4922
child 2969 d0914c76ecc3
equal deleted inserted replaced
2931:e89022c0657f 2932:666d31bd43bd
   102     new_start = entities[DEF_BATCH_SIZE-1].key().id_or_name()
   102     new_start = entities[DEF_BATCH_SIZE-1].key().id_or_name()
   103 
   103 
   104     # pass along these params as POST to the new task
   104     # pass along these params as POST to the new task
   105     task_params = {'start_key': new_start}
   105     task_params = {'start_key': new_start}
   106 
   106 
   107     new_task = taskqueue.Task(params=task_params, url=request['PATH_INFO'])
   107     new_task = taskqueue.Task(params=task_params,
       
   108                               url=request.META['PATH_INFO'])
   108     new_task.add()
   109     new_task.add()
   109 
   110 
   110   # task completed, return OK
   111   # task completed, return OK
   111   return HttpResponse('OK')
   112   return HttpResponse('OK')