A bunch of work getting blueprints working

This commit is contained in:
Bradley committed 2025-10-26 19:21:00 -04:00
1 parent 223a105be4
commit d59e23fc4c
9 files changed
+47 -12

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
from flask import Blueprint, request, render_template
upload_photo_bp = Blueprint('upload_photo', __name__, url_prefix='/upload', template_folder='.')
@upload_photo_bp.route('/photo')
def get_page():
if request.method == "GET":
return render_get(), 200
def render_get():
return render_template('upload_photo.html')