Exemplo n.º 1
0
 def get(self):
     prospectSkype = self.request.get("prospectSkype")
     employerSkype = self.request.get("employerSkype")
     for booking in Booking.all():
         if booking.prospect.skype == prospectSkype and booking.employer.skype == employerSkype:
             booking.accepted = True
             booking.put()
Exemplo n.º 2
0
 def get(self):
     self.response.headers["Content-Type"] = "text/plain"
     for booking in Booking.all():
         if booking.accepted:
             self.response.out.write("WRIING")
             self.response.out.write(
                 "Introduce "
                 + str(booking.employer.name)
                 + "("
                 + str(booking.employer.email)
                 + ") at "
                 + str(booking.employer.company)
                 + "  to "
                 + str(booking.prospect.name)
                 + " ("
                 + str(booking.prospect.email)
                 + ")"
             )