django redirect to parent of iframe from view

I am having a web page rendered via iframe. On successfully submitting the form in iframe, i gave,

 return HttpResponseRedirect("")

But the target page is also getting loaded within iframe. How to specify the parent to reload from django view?


Just return some html:


   = '{{ redirect_url }}';

Instead of:

return HttpResponseRedirect("")


return TemplateResponse(request, 'redirect_template.html', {'redirect_url':''}

Need Your Help

Div Taking Screen Width & Height

html css

I've been breaking my head the past two days figuring this out. Basically, i am creating a one page layout, where the first block takes the width and height of the screen and the second block needs...

Make text bold and italic

android xml text bold italics

Is there anyway to make Android text in the xml file both bold and italics?