On 5/12/07, Jiri Barton <[EMAIL PROTECTED]> wrote: > > I could live with doing multiple checks. In fact, I may want to check > every URL in the redirecting chain to make sure the flow is just what > I wanted.
That was my point - the fact that /second redirects to /third is just as important as the fact that /first redirects to /third; each redirect should be an atomic check. > Guys, what do you think about this? The code you provided is legal and does what it needs to do - I was just trying to work out if there was a way to make the syntax cleaner and do a little optimization. After all, each call to assertRedirect is already doing a get; if there is a way to avoid doing the get twice, it's probably worth implementing. Yours, Russ Magee %-) --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---