Re: Error trying to get PostgreSQL to work...setting configuration

2007-11-27 Thread Artiom Diomin

Seems you forget to make ./manage.py syncdb

Greg пишет:
> Hello,
> I've added the following to my settings.py file:
>
> DATABASE_ENGINE = 'postgresql_psycopg2'
> DATABASE_NAME = 'postgres'
> DATABASE_USER = 'postgres'
> DATABASE_PASSWORD = ''
> DATABASE_HOST = ''
> DATABASE_PORT = '5432'
>
> I added the line 'django.contrib.admin', to my INSTALLED_APPS.
>
> Now whenever I try to access my admin I get the following error:
>
> ProgrammingError: relation "django_session" does not exist
>
> Any Suggestions?
> >
>   


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



Error trying to get PostgreSQL to work...setting configuration

2007-11-27 Thread Greg

Hello,
I've added the following to my settings.py file:

DATABASE_ENGINE = 'postgresql_psycopg2'
DATABASE_NAME = 'postgres'
DATABASE_USER = 'postgres'
DATABASE_PASSWORD = ''
DATABASE_HOST = ''
DATABASE_PORT = '5432'

I added the line 'django.contrib.admin', to my INSTALLED_APPS.

Now whenever I try to access my admin I get the following error:

ProgrammingError: relation "django_session" does not exist

Any Suggestions?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---