combine modelformset and inlineformset in django views
I have two models class A(models.Model): name = models.CharField(50) type = models.CharField(50) class B(models.Model): field1 = ForeignKeyField(A) value = IntegerField() I need to generate both formsets and inline formsets using the above models. For class A I will generate model formset, but i'm not getting how to bind inline formset for model B to modelformsets How can I combine both modelformsets from model A and inline formsets from model A and model B on save method in django views? -- http://mail.python.org/mailman/listinfo/python-list
Read barcode from the PDF document
I have PDF document which consist of barcode characters. Now how can I read these barcode characters using python code? Or how can I recognize this barcode? -- http://mail.python.org/mailman/listinfo/python-list
How to read barcoded value from PDF
Hi, I have a PDF document which consist of barcode characters. Now how can I retrieve that bar-coded value programmatically. When I googled I found a tool called Pypdf which provides a function called 'PdfFileReader' To read the PDF file, but how can I read the barcode form the existing PDF. Any solution? In Reportlab I can do the following code to generate barcode and to get the value of that barcode barcode=code39.Extended39("123456789",barWidth=0.2*mm,barHeight=8*mm) bc = Paragraph("Barcode value: %s" % barcode.value, STYLES['Normal']) document.append(bc) But how can I achieve this from the existing PDF document?? -- http://mail.python.org/mailman/listinfo/python-list
How to read barcoded value from PDF
Hi, I have a PDF document which consist of barcode characters. Now how can I retrieve that bar-coded value programmatically. When I googled I found a tool called Pypdf which provides a function called 'PdfFileReader' To read the PDF file, but how can I read the barcode form the existing PDF. Any solution? In Reportlab I can do the following code to generate barcode and to get the value of that barcode barcode=code39.Extended39("123456789",barWidth=0.2*mm,barHeight=8*mm) bc = Paragraph("Barcode value: %s" % barcode.value, STYLES['Normal']) document.append(bc) But how can I achieve this from the existing PDF document?? -- http://mail.python.org/mailman/listinfo/python-list