How to force Django to use specific version of database

I have upgraded to python 3.9 and it requires Postgressql 11 to work. I was using Postgressql 10 already and I found out that I have 11 installed.. but I don't know how to force Django to use this version

$ dpkg -l | grep PostgreSQL

ii  pgdg-keyring                     2018.2                              all          keyring for apt.postgresql.org
ii  postgresql                       10+190ubuntu0.1                     all          object-relational SQL database (supported version)
ii  postgresql-10                    10.22-0ubuntu0.18.04.1              amd64        object-relational SQL database, version 10 server
ii  postgresql-11                    11.17-1.pgdg18.04+1                 amd64        The World's Most Advanced Open Source Relational Database
ii  postgresql-client-10             10.22-0ubuntu0.18.04.1              amd64        front-end programs for PostgreSQL 10
ii  postgresql-client-11             11.17-1.pgdg18.04+1                 amd64        front-end programs for PostgreSQL 11
ii  postgresql-client-common         242.pgdg18.04+1                     all          manager for multiple PostgreSQL client versions
ii  postgresql-common                242.pgdg18.04+1                     all          PostgreSQL database-cluster manager
ii  postgresql-contrib               10+190ubuntu0.1     
Back to Top