This ring any bells? I updated my existing site to utilize my new Django 1.5 custom user field, and now I can't update anything in Admin because i get the following error: (django_admin_log still has a fk to auth_user, apparently!) Any way to resolve this?
File "/app/.heroku/python/lib/
response = callback(request, *callback_args, **callback_kwargs)
File "/app/.heroku/python/lib/
self._nr_instance, args, kwargs)
File "/app/.heroku/python/lib/
return wrapped(*args, **kwargs)
File "/app/.heroku/python/lib/
return self.admin_site.admin_view(
File "/app/.heroku/python/lib/
response = view_func(request, *args, **kwargs)
File "/app/.heroku/python/lib/
response = view_func(request, *args, **kwargs)
File "/app/.heroku/python/lib/
return view(request, *args, **kwargs)
File "/app/.heroku/python/lib/
return bound_func(*args, **kwargs)
File "/app/.heroku/python/lib/
response = view_func(request, *args, **kwargs)
File "/app/.heroku/python/lib/
return func(self, *args2, **kwargs2)
File "/app/.heroku/python/lib/
return func(*args, **kwargs)
File "/app/.heroku/python/lib/
self.exiting(exc_value, self.using)
File "/app/.heroku/python/lib/
commit(using=using)
File "/app/.heroku/python/lib/
connection.commit()
File "/app/.heroku/python/lib/
self._commit()
File "/app/.heroku/python/lib/
six.reraise(utils.
File "/app/.heroku/python/lib/
return self.connection.commit()
File "/app/.heroku/python/lib/
return self._nr_connection.commit()
IntegrityError: insert or update on table "django_admin_log" violates foreign key constraint "django_admin_log_user_id_
DETAIL: Key (user_id)=(2) is not present in table "auth_user".
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment