I have figured out how to get my site to say ‘Hello, John’ when the user is logged in, but I can’t figure out how to have it not return the error:
<type 'exceptions.TypeError'>(format requires a mapping)
In regards to this code:
return dict(listings=listings, hello='hello %(first_name)s' % auth.user)
Perhaps your auth.user is
Nonehere is a quick check that it would throw that exception
You could try somthing like this