changes of db config add .env file and rename of ex_formate.html to file_formate.html

This commit is contained in:
2026-01-10 13:05:13 +05:30
parent 54f3d16b57
commit 5afe8e7096
7 changed files with 126 additions and 19 deletions

View File

@@ -2,15 +2,15 @@ from flask import Blueprint, render_template, send_from_directory, abort, curren
from app.utils.helpers import login_required
import os
file_format = Blueprint("file_format", __name__)
file_format_bp = Blueprint("file_format", __name__)
@file_format.route("/file_format")
@file_format_bp .route("/file_format")
@login_required
def download_format():
return render_template("ex_format.html", title="Download File Formats")
return render_template("file_format.html", title="Download File Formats")
@file_format.route("/file_format/download/<filename>")
@file_format_bp .route("/file_format/download/<filename>")
@login_required
def download_excel_format(filename):