We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Illegal assignment of '904567891484' to 'value' in class Ean13BarcodeWidget
class Items(models.Model): i_date = models.DateTimeField(auto_now_add=True,verbose_name="item Date") barcode = models.CharField(primary_key=True, max_length=24, verbose_name="item Id", help_text="place the barcode here")
def barId_report(request): resp = HttpResponse(mimetype='application/pdf') item_list = Items.objects.all() report = SimpleListReport(queryset=item_list) report.generate_by(PDFGenerator, filename=resp)
return resp
the normal one as given on the examples with code replaced to barcode.
By my gesture it is some problem arising due to the data retieved from my model as Unicode. How to Over Come please help..
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Illegal assignment of '904567891484' to 'value' in class Ean13BarcodeWidget
my model is as
class Items(models.Model):
i_date = models.DateTimeField(auto_now_add=True,verbose_name="item Date")
barcode = models.CharField(primary_key=True, max_length=24, verbose_name="item Id", help_text="place the barcode here")
view.py:
def barId_report(request):
resp = HttpResponse(mimetype='application/pdf')
item_list = Items.objects.all()
report = SimpleListReport(queryset=item_list)
report.generate_by(PDFGenerator, filename=resp)
report.py
the normal one as given on the examples with code replaced to barcode.
By my gesture it is some problem arising due to the data retieved from my model as Unicode.
How to Over Come please help..
The text was updated successfully, but these errors were encountered: