Tristan Brotherton Tristan Brotherton - 1 year ago 52
Python Question

Django admin won't let me delete a user in its auth admin application

This may be more of a serverfault question I'm not sure.

I have two practically identical servers - I cloned the DB from one to the other, and now when I try to delete a user in the

Admin > Auth
application Django gives the following error:

File "/usr/lib/python2.5/site-packages/django/db/models/sql/", line 206, in results_iter
for rows in self.execute_sql(MULTI):

File "/usr/lib/python2.5/site-packages/django/db/models/sql/", line 1734, in execute_sql
cursor.execute(sql, params)

ProgrammingError: relation "django_openidauth_useropenid" does not exist

So the issue seems to be
but what is it referencing - something missing in the DB, or an application?

My site is based on the PINAX collection apps.

Answer Source

This was resolved by doing a ./ syncdb

It must have got out of date somehow.