We have this problem that's been seen in the wild by a couple-three people now:
http://code.djangoproject.com/ticket/8110It apparently results from the AdminLogNode's render() function getting called multiple times, since the patch that protects against that by not modifying self.user in render fixes the issue for the last two people who have reported the problem. I think that's an OK fix (render() is supposed to allow for being called more than once, right, since if the template tag is in a loop the same node will get rendered multiple times?)...but I can't understand why, in this case, render() is getting called more than once. The tag is not in any sort of a loop in admin's index.html file (and the reporter says that file has not been modified). What else might cause render to get called multiple times for the same template node?
A further bit of weirdness is that the problem is reported to only occur with DEBUG set to False. If deubug is on, no problem. If it's off, sporadic internal server errors on the main admin page. I can't recreate it at all, regardless of debug setting or deployment method. Any ideas?
Karen