Tuesday, April 13, 2010

Odd problem

I'll describe what happened more in detail in this class later, but first - an odd problem I found.

when I loaded a page handled by the generic static-page function for the app engine (the one that basically just calls the render() function), even after I had logged out (using the google users module), it still used my username in referencing the page. This didn't happen with any of my other pages, even the highscores one which did absolutely nothing involving users. Eventually, I fixed it by making the default function just pass an empty dictionary. I really don't know why this worked, but it did.