def get_game(self): try: return Game.objects.get(pk=self.kwargs['game_pk']) except Game.DoesNotExist: raise NotFound('game not found')