Just in addition to the above. Myapp works fine and I have
absolutely
no problems running it day-to-day. It's just the admin panel
that's
dodgy. I have another app that I built in much the same way
and I get
the exact same error ... can't find table 'Otherapp'
whenever I try to
access the admin panel.
On Oct 20, 5:56 pm, dbee <daraburk... gmail.com> wrote:
> Can anyone explain this behaviour to me ?
>
> When I try to work with the admin panel on 'Myapp', i
get this error
> telling me that it can't find an entry in the
'Otherapp' table ?
>
> Myapp and Otherapp are two completely different
applications. I used
> some of the same code for both of them though - but
I've searched
> through all the files and there is no mention of
'Otherapp' in the
> 'Myapp' django app tree :-(
>
> ProgrammingError at /admin/auth/user/1/
>
> ERROR: relation "otherapp1_userprofile" does
not exist SELECT COUNT(*)
> FROM "otherapp1_userprofile" WHERE
("otherapp1_userprofile"."user_id"
> = 1)
>
> Request Method: POST
> Request URL: http://myapp.com/
admin/auth/user/1/
>
> Exception Type: ProgrammingError
>
> Exception Value: ERROR: relation
"otherapp1_userprofile" does not
> exist SELECT COUNT(*) FROM
"otherapp1_userprofile" WHERE
> ("otherapp1_userprofile"."user_id"
= 1)
>
> Exception Location:
/usr/lib/python2.3/site-packages/Django-0.95.1-
> py2.3.egg/django/db/backends/util.py in execute, line
12
--~--~---------~--~----~------------~-------~--~----~
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 htt
p://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---
|