Re: Middleware help -- screwing up the admin

2009-07-08 Thread Ryan K
Please ignore this. I'm an idiot and placed the reference to the middleware in the template_context_processros settings. And so strange errors resulted. Please delete if possible. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Middleware help -- screwing up the admin

2009-07-08 Thread Ryan K
I'm getting a very strange error: TypeError at /admin/ object.__new__() takes no parameters I've isolated the problematic code to my middleware for an application I built called staticpages. It uses the same mechanism and so the same middleware as flatpages. This is the code: from django.http