def store_new_question(question):
    assert isinstance(question, Question), "param `question` should be model.Question's instance"
    conn = sqlite3.connect(DB_PATH)
    cursor = conn.cursor()
    sql = ('INSERT into Question (id, content, user, date) VALUES (%s, %s, %s, %s)' % question())
    cursor.execute(sql)
    conn.commit()
    conn.close()
def store_new_question(question):
    assert isinstance(question, Question), "param `question` should be model.Question's instance"
    conn = sqlite3.connect(DB_PATH)
    cursor = conn.cursor()
    sql = ('INSERT into Question (id, content, user, date) VALUES (%s, %s, %s, %s)' % question())
    cursor.execute(sql)
    conn.commit()
    conn.close()