code: def save_value(self, name, value):
          
          session_name = 'list_{}_{}_{}'.format(self.kwargs.get('app'), self.kwargs.get('model'), name)
          self.request.session[session_name] = value
          setattr(self, name, value)
          return value
docs: Save value to session