Pdf-js default viewer with Django

PDF.js Express Version

Detailed description of issue
The problem I am adressing is how to integrate pdf-js default viewer in a Django web app using iframe. I have been struggling to do the integration, I have also made a github repo viewing two pdf rendering methods: using pdf-js (Not working) and without pdf-js (working). Please find a link to the repository: https://github.com/alpha027/pdfjs_integration.

Expected behaviour
The expected behaviour is to have PDF displayed. Instead, only the header of the pdf appears.

Does your issue happen with every document, or just one?
The issue happens with all documents. Although I was able to use PDF-JS without the Django framework, I was not able to use it with a Django web application

Link to document
Both documents and code could be found in the github repo: https://github.com/alpha027/pdfjs_integration.
It would be really helpful to have a Blog post on this topic.
Finally, Thanks for your support

Hi there!

Thanks for trying out PDF.js Express.

We really appreciate you creating repo for us to reproduce, but unfortunately no one on the team is familiar the Django (or python) so it’s a bit hard for us to parse the sample you provided us. The only JavaScript in that repo seems to be a bundled JS file, which is not very helpful to us.

Are there any errors in the console when you try to load Express?? Could you point us to the code where express is getting loaded?

Thank you!