Why does assertRedirects of TestCase succeeds only if the response
code is 302? One would think any 3xx should do - they are *redirects*
at all. At least, I would think 301 were okay because that is what
django.views.generic.simple.redirect_to generates.

How am I supposed to think about that? Where is the flaw?

Thank you,
Jiri


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to