Configure django application to connect to postgres