예제 #1
0
파일: web.py 프로젝트: devgona/Newsclipse
def reset():
    reset_db()
    return jsonify({"status": "ok", "message": "Nuked all the things"})
예제 #2
0
def reset():
    """ Destroy the current database and create a new one. """
    reset_db()
예제 #3
0
def reset():
    reset_db()
    return jsonify({'status': 'ok', 'message': 'Nuked all the things'})