Django vs Postgres Connection
Hi,
this is the first time i try to deploy a django project and i'm not
being able to solve a problem.
On my local machine everything is running fine, but when i try to
deploy to a running server with apache (mod_wsgi), i'm getting the
following error (database related):
Caught OperationalError while rendering: could not connect to server:
Permission denied
Is the server running on host "127.0.0.1" and accepting
TCP/IP connections on port 5432?
The fact is that when i try to connect to the database using psql -
U... is working fine, so postgree is working ok, it seems to be with
django :S
Exception Location: /usr/lib/python2.6/site-packages/django/db/
backends/postgresql_psycopg2/base.py in _cursor, line 136
this is my django version (just in case): 1.2.3
Anyone here has faced this problem ?
have any ideas?
Thanks
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home