Wednesday, September 1, 2010

Re: Django + Postgres

> So I have installed postgres, pyscopg2.
>
> su postgres
> created a database
> updated my settings.py:
> DATABASES = {
>     'default': {
>         'ENGINE': 'django.db.backends.postgresql_psycopg2',
>         'NAME': 'template1',
>         'USER': 'postgres',
>         'PASSWORD': 'postgres',
>
> Then I have su postgres
> postgres@myvps:/var/www/django/$ python manage.py syncdb
>
> That upates the database, with all the admin database stuff, but it
> doesnt find anything at the admin url
>
Did you run django as a postgres user too?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment