Forums

can't embed django app in a wordpress website

Hi, im trying to embed my app in a wordpress website, im using an iframe (i know it is not the best option, but still want to try it). In the sample page i add this [advanced_iframe src="https://thewebtoolboxhub.pythonanywhere.com/"] if i preview i get this my-app.pythonanywhere.com refused to connect. with a :( smiley on top. Any idea how i can fix this? thanks!

Is there anything in the browser's developer tools console? On Chrome, you can access that from the hamburger menu, then "More tools", then "Developer tools". You'd want to access the console tab there, then reload the page that is embedding your Django site -- I expect you'll see an error there, and the specific error message should make it clear what the problem is.