On 28-Nov-06, at 12:00 PM, David Abrahams wrote:

> Finally, I had to explicitly specify a PostgreSQL user in my
> settings.py file, because my apache runs as a different user (www)
> than the one that created the database, and although I used
> psql to

say you have an app called 'myapp'. Create a database user called  
myapp and give it right to create databases and have a password:
createuser myapp -P
then create the databases:
createdb myapp -U myapp
enter myapp as user and its password in the settings.py
it is a bad idea to allow www to access the database

-- 

regards
kg
http://lawgon.livejournal.com
http://nrcfosshelpline.in/web/



--~--~---------~--~----~------------~-------~--~----~
 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to