Hi there!
I have setup my django app and it is running perfectly fine. However, when i go to the admin/ i get a server Error(500). In debug, the error comes up as
OperationalError at /admin/login/.
could not connect to server: No such file or directory Is the server running locally and accepting connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
The server seems to be running fine as I can connect to it using psql. I have deleted and recreated my databases but the problem still persists.
What is it that I could be missing?
Thanks in advance.