same changes of sub-cont dashboard

This commit is contained in:
2026-03-18 17:18:05 +05:30
parent 1d83534a95
commit 6e4406519a
5 changed files with 226 additions and 75 deletions

View File

@@ -1,6 +1,4 @@
import os
# project base url
BASE_DIR = os.path.abspath(os.path.dirname(__file__))
class Config:
# secret key
@@ -23,7 +21,4 @@ class Config:
)
SQLALCHEMY_TRACK_MODIFICATIONS = False
# uploads folder path
UPLOAD_FOLDER = os.path.join(BASE_DIR, "static", "uploads")
# file extension
ALLOWED_EXTENSIONS = {"xlsx", "xls", "csv"}