I currently have a project in which you want to integrate sdk with django.
The compilation of the files and the test of their execution was done based on the link
And its execution is satisfactory.
You want to integrate this library to the project in the django framework
from pdf_tron.PDFNetPython import *
doc = PDFDoc()
page = doc.PageCreate() # Start a new page
doc.PagePushBack(page) # Add the page to the document
doc.Save(“output.pdf”, SDFDoc.e_linearized); # Save the document as a linearized PDF
return HttpResponse(“PDF TRON Hello World!”)
Which generates the following error
Django Version: 3.0.3
Exception Type: NameError
name ‘PDFNet’ is not defined
I would like to know if this type of integration has been carried out and the information is missing.