On Fri, 2011-03-18 at 16:10 +, Tom Evans wrote:
> > I need some help about how to create a postgres database for django
> in
> > Ubuntu.
> > I am planning to use the authentication feature of Django and the
> first step
> > is to have a DB already created but i don't know how to do it.
> > Than
On Fri, Mar 18, 2011 at 4:00 PM, Juan Gabriel Aldana Jaramillo
wrote:
> Hi,
> I need some help about how to create a postgres database for django in
> Ubuntu.
> I am planning to use the authentication feature of Django and the first step
> is to have a DB already created but i don't know how to do
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 give
Hi,
I need some help about how to create a postgres database for django in
Ubuntu.
I am planning to use the authentication feature of Django and the first step
is to have a DB already created but i don't know how to do it.
Thanks,
--
You received this message because you are subscribed to the
4 matches
Mail list logo