So close! I'm able to use syntax highlighting AND grab the content with js (which then adds to a textarea), but the Flask for loop is only noticed on the first iteration. I can't grab the subsequent values. I need to find a way to dynamically find IDs.
This commit is contained in:
@ -5,7 +5,9 @@ app = Flask(__name__)
|
||||
app.config.from_object(Config)
|
||||
|
||||
# Upload folder
|
||||
UPLOAD_FOLDER = 'static/files'
|
||||
app.config['UPLOAD_FOLDER'] =UPLOAD_FOLDER
|
||||
UPLOAD_FOLDER = "/Users/normrasmussen/Documents/Projects/CSM_webapp/app/static/files"
|
||||
# UPLOAD_FOLDER = 'static/files'
|
||||
app.config["UPLOAD_FOLDER"] = UPLOAD_FOLDER
|
||||
ALLOWED_EXTENSIONS = {"csv"}
|
||||
|
||||
from app import routes
|
||||
from app import routes, forms
|
||||
|
||||
Reference in New Issue
Block a user