django-qrcode 0.3

Django application that provides simple templatetags to generate QR-codes
django-qrcode is a simple Django app that provides some templatetags that allows to include automatically QR codes on the Django site.

Installation

Once is installed from PyPI, you just need to add it to your settings as 'qrcode':

INSTALLED_APPS = (..., 'qrcode', ...)

Usage

Its usage is very simple. You just need to use the templatetag as follows:

{% load qr_tags %}

...

{% qr_from_text "text" "size" %}
or
{% qr_from_mail "mail_address" "size" %}

Where:

- Size is not mandatory, and defines the dimensions of the QR code as following: 's' (120x120 pixels), 'm' (230x230 pixels) and 'l' (350x350). Any other option will be ignored and will use 'm' as default.
- qr_from_mail tag just add a simple "mailto:" at the beggining, because some qr scanners can detect that as an email address in order to send it an email.

last updated on:
December 15th, 2011, 2:30 GMT
price:
FREE!
developed by:
Pablo Recio Quijano
homepage:
github.com
license type:
LGPL v3 (GNU Lesser General Public Lic... 
category:
ROOT \ Internet \ HTTP (WWW)

FREE!

In a hurry? Add it to your Download Basket!

user rating

UNRATED
0.0/5
 

0/5

Add your review!

SUBMIT