Answer the question
In order to leave comments, you need to log in
How does Django connect to a database?
I don't quite understand how Python frameworks work. If Django is launched as an application, does it connect to the database and hang constantly, like NodeJS, or a new connection is created for each user request, like in PHP?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question