> On Sunday, November 11, 2018 at 1:09:48 PM UTC-5, Vikas Sri wrote:
>>
>> I am preparing learning tutorial application in Django, which will contain 
>> PDF's  that I need to display in my templates. I tried <embed>, <iframe> etc 
>> but nothing worked. Do I need to install something to make it work?

Here is example and demo with pdf and <object> tag
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/object

It should also work with iframe
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CA%2BohZETe86xHUWsdPR5tOs04NpF1948_EYbCs3n8XNosNvVSKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to