Django ORM leaves opened connections
- by cleg
I'm using django ORM with Postgres.
After any operations with models (e.g. simple select) in postgres appears new opened connection in IDLE state.
I've tried all possible transaction manipulations, I've tried calling
connection.close()
manually. All useless.
And sooner or later, I'm recieveing "FATAL: connection limit exceeded for non-superusers" message.
What can I've made wrong?