Skip to content Skip to sidebar Skip to footer

TypeError: Quote_from_bytes() Expected Bytes After Redirect

I wrote a function which after execution returns the user to the anchor page. But I'm getting an error. TypeError: quote_from_bytes() expected bytes view.py class CourseEditView(A

Solution 1:

According to the documentation, get_success_url should just return the URL to redirect to, not the redirect response

return '{}#education'.format(reverse('profile', kwargs={'pk': pk}))

Post a Comment for "TypeError: Quote_from_bytes() Expected Bytes After Redirect"