Exemplo n.º 1
0
Arquivo: pages.py Projeto: szkocka/api
    def post(self, current_user):
        content = request.json['content']
        about_page = AboutPage(id=1, content=content)
        about_page.put()

        return ok_msg('About page is updated.')