You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a view that redirects back to itself. For some reason, the redirect url in the response has http://localhost in front of it. Here is the code...
delete = show_feedback_page.form.submit()
# The user should be redirected back to the show feedback page
self.assertRedirects(delete, self.url)
return delete.follow()
So I'm submitting a form which on success redirects. Why does the redirect url have http://localhost in front of it. I have other views which also redirect, but their redirect url's don't have http://localhost in front of them.
The text was updated successfully, but these errors were encountered:
I have a view that redirects back to itself. For some reason, the redirect url in the response has
http://localhost
in front of it. Here is the code...So I'm submitting a form which on success redirects. Why does the redirect url have
http://localhost
in front of it. I have other views which also redirect, but their redirect url's don't havehttp://localhost
in front of them.The text was updated successfully, but these errors were encountered: