Hey Dutchmo I think that might be the answer. When developing locally, we were using flask-weasyprint in order to send a template to download as a PDF. When looking to launch our app on pythonanywhere.com, Originally the flask-weasyprint was not working, so I changed it to just "weasyprint" which allowed me to import it but then threw the error on the render_pdf.
Am I just using the weasyprint module wrong? Here is my code for the print route
#PRINT YOUR BN!
@app.route('/pdf_template', methods=['POST', 'GET'])
owner = User.query.filter_by(email=session['email']).first()
tasks = Task.query.filter_by(completed=False, owner=owner).all()
html = render_template('pdf_template.html',
owner = owner,
Is there a similar function to "render_pdf" already built into the weasyprint module?
Thanks in advance!
[edit by admin: formatting]