Skip to content
Snippets Groups Projects
Commit 0f133f1b authored by shivupoojar's avatar shivupoojar
Browse files

updated app.py and requirements.txt

parent 0a200ded
No related branches found
No related tags found
No related merge requests found
......@@ -6,6 +6,7 @@ app = Flask(__name__)
app.config['SQLALCHEMY_DATABASE_URI'] = os.environ['DATABASE_URL']
app.config['SQLALCHEMY_TRACK_MODIFICATIONS'] = False
db = SQLAlchemy(app)
app.app_context().push()
class Messageboard(db.Model):
__tablename__ = 'messages'
......
# this file defines the pip packages neede by this application
flask==3.0.2
Flask-SQLAlchemy==2.5.1
Flask-SQLAlchemy==3.0.4
Jinja2
psycopg2-binary
SQLAlchemy==1.3.23
SQLAlchemy>=1.4.18
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment