Docs on auth context processor are incorrect
|Reported by:||ubernostrum||Owned by:||jacob|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
The docs for django.core.context_processors.auth state that the messages variable returned to the context will be "A list of auth.Message objects for the currently logged-in user." That's not correct, though; the context processor is doing get_and_delete_messages on request.user, which iterates over the Message objects and returns the message attribute of each, not the objects themselves.