Skip to main content

A simple Django app to create QR images in template

Project description

Django QR Code

Is a package

Quick start

1. Add "django_qr_code" to your INSTALLED_APPS setting like this::


2. Include the django_qr_code URLconf in your project like this::

path('image/', include('django_qr_creator.urls')),

3. Run `python migrate` to create the polls models.

4. Start the development server and visit
to create a poll (you'll need the Admin app enabled).

5. Visit to participate in the django_qr_code.

Tested in python 3.6 with Django 2.0

Example of use in a template
{% load django_qr_creator %}

Load this tags in you html template

{% qr url='' %}


{% qr tel='+56948161822' %}

For QR Tel

{% qr email='test@test.test' %}

For QR Mail

{% qr location='40.7127753,-74.0059728' altitude='15' %}

For QR Location

{% qr sms='+56948161822' message='this is a test' %}


Example in view

from django.shortcuts import render
from django_qr_creator import Image

def demo_image(request, param_data=1, extension='png'):
return Image.get_image(

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_qr_creator-0.1.5.tar.gz (4.7 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page