Django MacOS EndpointID Error

I have been coding on Windows 11 for this entire time, until i decided to start coding on MacOS for a change of pace. I’ve been trying to start my django server but i keep getting this error

django.db.utils.OperationalError: ERROR:  Endpoint ID is not specified. Either please upgrade the postgres client library (libpq) for SNI support or pass the endpoint ID (first part of the domain name) as a parameter: '?options=endpoint%3D<endpoint-id>'. See more at https://neon.tech/sni

i am just confused as to why this error suddenly appeared on MacOS. I have installed the lastest version of libpq/psql installed

If you are using the pyscopg2 driver with Django, please try these instructions: