Or otherwise maybe `reverse(str(self.redirect_url))` / `reverse(unicode(self.redirect_url))` (py3 / py2), use some six wrapper.