def post(self):
     # we need to create the id before, GAE is slow at this
     ids = Call.allocate_ids(size=1)
     user = self.user
     call = Call(id=ids[0])
     call.player = self.request.get('giocatore')
     call.called_by = user.key
     call.put()
     # deffer the task
     # sendMailCall(call)
     deferred.defer(sendMailCall, call=call)
     # redirect to Offer
     self.redirect(self.uri_for('offer', call=call.key.urlsafe()))