I am trying to set up a PostgreSQL database for my django project, which I believe I have done now thanks to the replies to my last question Problems setting up a postgreSQL
For Django 2 and python 3 install psycopg2 using pip3 :
Django 2
python 3
psycopg2
pip3
pip3 install psycopg2