I was reading djiagobook.com. I started an app, added some models, and ./manage.py syncdb, the all seems well. when I try to views the http://127.0.0.1/admin , It tell me that password wrong identify failed. But the user and password in setting.py can login in psql. When I use djangotestserver, it worded allright. How can I set my setting.py to login my postgresql in localhost? my pg_hba.conf says: local all all ident sameuser
I try to use SQLite to replace postgresql. syncdb, nothing wrong. to view http://127.0.0.1/admin: unable to open database file!! I try it again in djangotestserver, all is right. my /etc/apache2/apache2.conf: <Location "/"> SetHandler python-program PythonHandler django.core.handlers.modpython PythonPath "['/home/user/web'] + sys.path" SetEnv DJANGO_SETTINGS_MODULE mysite.settings PythonDebug On </Location> By the way, my django+apache2+mod_python works wellwithout database. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---