Skip to content
Sign upLog in
Web view shows the connection is blocked
Profile icon
has Hacker Plan

I imported a working Django web app into It does work in the browser. But in the web view, it crashes. I've tried four browsers. The ones with the most useful messages were Opera and Firefox.

The Opera message: is blocked refused to connect.

The Firefox message:

Firefox Can’t Open This Page
To protect your security, will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window.
Learn more…
Report errors like this to help Mozilla identify and block malicious sites

Firefox "learn more" link:

You are viewing a single comment. View All
Profile icon

I reported this as a bug as you suggested, but have since solved it. However, this solution should be documented for anyone importing a Django web app. I did not need CORS enablement. All I needed was one line in which appears only when the user creates a new Django web app, but must be added if the user imports an existing web app. Here is the one line of code:
Thank you for all your help. It is appreciated. --Linda