App.py corrigido

parent 42fe3a6f
......@@ -2,7 +2,7 @@ from flask import Flask, render_template, request, redirect, url_for
from flask_sqlalchemy import SQLAlchemy
import os
app = Flask(__name__)
app = Flask(__name__, template_folder='../templates')
# Caminho do banco de dados
basedir = os.path.abspath(os.path.dirname(__file__))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment