tags:

views:

16

answers:

0

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 in the user.message_set (as there should not be once the messages are shown). However, no messages appear in the response (the response gotten from following the redirect). Why not?