Example #1
0
 def post(self):
     r_model = ResourceModel(self.user.id)
     resource_list = r_model.recource_list()
Example #2
0
 def post(self):
     url = self.get_argument("url", None)
     resource_type = self.get_argument("type", "text")
     r_model = ResourceModel(self.user.id)
     r_model.create(url,resource_type)