How do I get User.message_set messages to show up for the built in test client?
Posted
by Conley Owens
on Stack Overflow
See other posts from Stack Overflow
or by Conley Owens
Published on 2010-06-15T02:22:12Z
Indexed on
2010/06/15
2:22 UTC
Read the original article
Hit count: 189
django
I'm aware that the old Django messages framework is deprecated, but I still would like to know the answer to this.
When I go to a certain url to my broswer, a message is created, I am redirected to a different page, and I see the message correctly displayed by my template.
When the test client goes to the same url, the message is created, it gets a redirect, and after following the redirect there are no messages. However, no messages appear in the response (the response gotten from following the redirect). Why not?
© Stack Overflow or respective owner