﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
16029	IntegrityError at /admin/flatpages/flatpage/add/	dfcode	nobody	"In attempt to share users and sessions across multiple Django projects, I have created a database router for the session and auth models.  This caused a hiccup for the admin site when I needed to generate a superuser in the remote database so I could login to /admin/.  It seemed to work fine until I tried to make a change and the following error occured:

IntegrityError at /admin/flatpages/flatpage/add/
insert or update on table ""django_admin_log"" violates foreign key constraint ""django_admin_log_user_id_fkey""
DETAIL:  Key (user_id)=(2964) is not present in table ""auth_user"".

It seems that the logging system is not honoring my router for the 'auth' model.  "	Bug	closed	contrib.admin	1.6	Normal	invalid	admin,auth,logging,router,sessions		Unreviewed	0	0	0	0	0	0
