'It' refers to my domain name when visited "/admin"
All the django settings are correct, I've used sqlite3 and got the
admin up and working.
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
On Aug 31, 12:42 pm, Xavier Ordoquy <xordo...@linovia.com> wrote:
> Also, what kind of users are you speaking about ? system, database or django users ?
> Do you have the admin site available in the urls ? Did you uncomment both the url and the auto discovering part ?
> Did syncdb showed django_admin_log table being created (or can you check it has been created) ?
>
> Regards,
> Xavier.
>
> Le 31 août 2010 à 13:34, Albert Hopkins a écrit :
>
>
>
> > On Tue, 2010-08-31 at 04:30 -0700, Robbington wrote:
> >> Hi,
>
> >> I seem to be having a problem setting up django and postgresql.
>
> >> I have created a database and switched users to postgres then sync'd
> >> the database successfully in my django project directory. But it isn't
> >> finding the admin page still. No errors, just cant find them.
>
> > What is "it" and what is meant by "it isn't finding the admin page"?
>
> > Did you enable the admin in INSTALLED_APPS and urls.py?
>
> > --
> > 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 athttp://groups.google.com/group/django-users?hl=en.- Hide quoted text -
>
> - Show quoted text -
--
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