Log into the PostgreSQL console using the psql command. Or manage.py dbshell.

CREATE USER username PASSWORD 'secret' CREATEDB;
CREATE DATABASE dbname OWNER username;

That ought to do it. Also, you only need the CREATEDB if you plan to
run unit tests, so don't bother with it in production. It gives the
user the ability to create the test database during the unit test
process.

Shawn

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

Reply via email to