Simply update the Entity
in your view:
class RenderEntity(BaseHandler):
#renders entity on a template
def get(self, entity_id):
entity = Entity.get_by_id('Entity', entity_id)
# TODO: determine user_id and reciever_user_id
if user_id == receiver_user_id:
entity.seen = True
entity.put()
self.render('entity_template.html', entity = entity)
You did not specify how you determine the user_id
nor how you know it the recipient, but you can use a simple if
test once you do have them.