I am working with the Django project and trying to render a pdf with WeasyPrint.
Django
WeasyPrint
my views.py:
views.py
def WeasyPDF(request):