djangosnippets.org: Latest snippets tagged with 'barcode'http://djangosnippets.org/tags/barcode/2010-07-30T10:20:18.764682-05:00Filter to generate QR codes
2010-07-30T10:20:18.764682-05:00javinievashttp://djangosnippets.org/snippets/2130/<p>You can convert any string to a QR code image as easy as use a simple filter, thanks to google charts api.
</p>
<p>Common use:
<img src="{{object.attribute_to_encode|qr:"120x130"}}" />
</p>
<p>This will create a 120(width) x 130(heiht) image with the value of the attribute_to_encode encoded in a QR coded image.
</p>
Freely redistributable