create project and create model and dashboard
This commit is contained in:
24
app/config.py
Normal file
24
app/config.py
Normal file
@@ -0,0 +1,24 @@
|
||||
import os
|
||||
|
||||
class Config:
|
||||
|
||||
SQLALCHEMY_DATABASE_URI = "mysql+pymysql://root:root@localhost/comparisondb"
|
||||
|
||||
SQLALCHEMY_TRACK_MODIFICATIONS = False
|
||||
SECRET_KEY = "secret123"
|
||||
|
||||
UPLOAD_FOLDER = "app/static/uploads/"
|
||||
ALLOWED_EXTENSIONS = {"xlsx", "xls", "csv"}
|
||||
|
||||
|
||||
|
||||
# class Config:
|
||||
# SECRET_KEY = os.getenv("SECRET_KEY", "dev_key_12345")
|
||||
|
||||
# UPLOAD_FOLDER = "app/static/uploads/"
|
||||
# ALLOWED_EXTENSIONS = {"xlsx", "xls", "csv"}
|
||||
|
||||
# DB_HOST = "localhost"
|
||||
# DB_USER = "root"
|
||||
# DB_PASSWORD = "root"
|
||||
# DB_NAME = "comparisondb"
|
||||
Reference in New Issue
Block a user