pdf.js in in my static files(as shown below):
/static/js/pdf.js
And i am able to display a pdf located in static
folder(as shown below):/static/sample-pdf.pdf
but i want to be able to show a pdf located in my media
folder(as a pdf should be stored as a media file in django)
media
folder is in same directory as of static
folder(as shown below):
project/static
andproject/media
Is it possible ?
Do ask if more clarity is required.