djangosnippets.org: Latest snippets tagged with 'qr-code'http://djangosnippets.org/tags/qr-code/2009-05-06T09:31:24.692767-05:00Generate QR Code image for a string
2009-05-06T09:31:24.692767-05:00johnnoonehttp://djangosnippets.org/snippets/1494/<p>Generate QR Code image from a string with the Google charts API</p>
<p>http://code.google.com/intl/fr-FR/apis/chart/types.html#qrcodes</p>
<p>Exemple usage in a template</p>
<pre><code>{{ my_string|qrcode:"my alt" }}
</code></pre>
<p>will return the image tag with </p>
<ul>
<li>src: http://chart.apis.google.com/chart?chs=150x150&amp;cht=qr&amp;chl=my_string&amp;choe=UTF-8</li>
<li>alt: my alt"</li>
</ul>
Freely redistributable