Answer the question
In order to leave comments, you need to log in
Flask how to connect to postgresql?
Hello, please tell me how to connect to postgresql in flask, or give a link, where they usually connect to sqlite)
Answer the question
In order to leave comments, you need to log in
postgresapp.com/documentation/configuration-python.html
but this is for SQLAlchemy + Flask
from sqlalchemy import create_engine
engine = create_engine('postgresql://login:[email protected]/db')
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question