'Returns the supplied success URL.'

def get_success_url(self):

    if self.success_url:
        url = force_text(self.success_url)
    else:
        raise ImproperlyConfigured('No    URL    to    redirect    to.    Provide    a    success_url.')
    return url
