# get_success_url should just return the URL to redirect to, not the redirect response return '{}#education'.format(reverse('profile', kwargs={'pk': pk}))