2026第一次上传

This commit is contained in:
2026-01-04 15:00:40 +08:00
parent 8373794f11
commit 24dc04287e
9 changed files with 130 additions and 122 deletions

View File

@@ -58,6 +58,7 @@ def new():
@study_bp.route('/posts/<int:posts_id>/edit', methods=('GET', 'POST'))
def edit_posts_id(posts_id):
posts = get_posts(posts_id)
if request.method == "POST":
title = request.form['title']
content = request.form['content']