def __init__(self, request=None, response=None): RESTHandlerClass.__init__(self, request, response) self.ModelClass = QuestionList self.required = ['name'] self.parent_required = True self.cache_key = 'question_list'
def __init__(self, request=None, response=None): RESTHandlerClass.__init__(self, request, response) self.ModelClass = Course self.required = ["name"] self.parent_required = True self.cache_key = "course"