I have stored a pdf in my media folder and would like to embed it in my template. It says '127.0.0.1 is blocked' and '127.0.0.1 refused to connect'.
My HTML code:
<embed src="{{ project.publications_pdf.url }}" type="application/pdf" height="700px" width="500px">
The url is stored in the Project model as publications_pdf.