code: def _change_kind(self, post_uid):
          '''
          To modify the category of the post, and kind.
          '''
  
          post_data = self.get_post_data()
  
          logger.info('admin post update: {0}'.format(post_data))
  
          MPost.update_misc(post_uid, kind=post_data['kcat'])
          # self.update_category(post_uid)
  
          update_category(post_uid, post_data)
          self.redirect('/{0}/{1}'.format(router_post[post_data['kcat']], post_uid)f _change_kind(self, post_uid):
          '''
          To modify the category of the post, and kind.
          '''
  
          post_data = self.get_post_data()
  
          logger.info('admin post update: {0}'.format(post_data))
  
          MPost.update_misc(post_uid, kind=post_data['kcat'])
          # self.update_category(post_uid)
  
          update_category(post_uid, post_data)
          self.redirect('/{0}/{1}'.format(router_post[post_data['kcat']], post_uid))
docs: To modify the category of the post, and kind.