Logo
Explore Help
Sign In
norm/NP_CSM_Tool
1
0
Fork 0
You've already forked NP_CSM_Tool
Code Issues Pull Requests Packages Projects Releases Wiki Activity
Files
8afdec139bbb45bfd597fa737cb650d2f61c4625
NP_CSM_Tool/app/__init__.py

14 lines
344 B
Python
Raw Normal View History

Lots of good progress getting it setup. Need to figure out templating, easier calling of functions, and cleaner routing.
2023-02-17 16:59:42 -05:00
from flask import Flask
from config import Config
app = Flask(__name__)
app.config.from_object(Config)
Subnav bar added and some other small changes. Need to figure out CSV upload.
2023-03-01 17:05:16 -05:00
# Upload folder
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.
2023-03-13 17:23:56 -04:00
UPLOAD_FOLDER = "/Users/normrasmussen/Documents/Projects/CSM_webapp/app/static/files"
# UPLOAD_FOLDER = 'static/files'
app.config["UPLOAD_FOLDER"] = UPLOAD_FOLDER
ALLOWED_EXTENSIONS = {"csv"}
Subnav bar added and some other small changes. Need to figure out CSV upload.
2023-03-01 17:05:16 -05:00
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.
2023-03-13 17:23:56 -04:00
from app import routes, forms
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.0+dev-138-gd21ce9fa07 Page: 745ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API