Hello!!! I am new to django, and am running the tutorial. I have edited 'settings.py' and am running "python manage.py runserver".
When I run the server and then call "python manage.py syncdb" against my Postgres database, everything just hangs. If I kill 'runserver', then I get this message from syncdb: site-packages/Django-1.3-py2.4.egg/django/db/backends/ postgresql_psycopg2/base.py line 140 self.connection = Database.connect(**conn_params) psycopg2.OperationalError: could not connect to server: Connection refused When I turn the server back on and run syncdb, it just hangs. I try turning on verbose and other options...but I see nothing. It seems like something is talking to the server, but that is as far KABA Student in Le Mans, France -------- Original Message -------- Subject: problems: python manage.py syncdb Date: Fri, 22 Apr 2011 10:17:05 +0200 From: <lk...@mercuriale-data.com> To: <django-users@googlegroups.com> Bonjour, C'est pour demander de l'aide pour ce problème. Avec la commande python manage.py syncdb ou python manage.py sql ou python manage.py sqlall on a plusieurs ligne de d'erreur dont: self.connection = database.connect(**conn_params) psycopg2.OperationalError: could not connect to server: Connection refused (0*0000274D/10061) Ci joint la copie d'ecran de l'erreur Merci de m'aider KABA Etudiant Le Mans, France -- 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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.