Fixed #21177 -- Made resolve_url support relative URLs

This fixes redirecting to relative URLs with django.shortcuts.redirect