def accept(self): """Accept the submission and notify the author""" self.accepted_at = datetime.datetime.now() self.save() messages.send_game_accepted(self.user, self.game)
def accept(self): self.accepted_at = datetime.datetime.now() self.save() messages.send_game_accepted(self.user, self.game)