I've found a few questions relating to the testing of URL redirects, to see if URL redirects land at the desired target URL. I would like to know, though, if there is an attribute that indicates what the final target URL landed upon is.
c = Client()
r = c.get('/sr/portfolios/', follow=True)
r.final_url # something like this?
It seems redirect_chain only tells you URLs you were redirected through, but not those than you ultimately landed on.
r.redirect_chain
# [('http://testserver/sr/?next=/sr/portfolios/', 302)]
Related (but not identical) topic I found: Django : Testing if the page has redirected to the desired url