Dynamically Create Folders For User From A Django App Hosted on Heroku.

2020-06-22 Thread lejaha...@gmail.com
I am currently trying to generate reports for all the users to my application, and since a user can decide to generate one/more report(s). I have managed to create a new folder for a user inside the root directory every time they generate the report(s). The app works perfectly fine on my local

FileNotFoundError at /urlpath, after hosting Django project to Heroku

2020-06-18 Thread lejaha...@gmail.com
Created a an application that generates pdf-files from latex templates saved on the project, using the subprocess('pdflatex nameofTemplate' ) method. The application works fine, locally. But does not work on the server and returns "[Errno 2] No such file or directory: 'pdflatex mytexfile.tex':