Skip to main content
=====
Django QR Code
=====

Is a package

Quick start
-----------

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

INSTALLED_APPS = [
...
'django_qr_creator',
]

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

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

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

4. Start the development server and visit http://127.0.0.1:8000/admin/
to create a poll (you'll need the Admin app enabled).

5. Visit http://127.0.0.1:8000/image/data/qr.png to participate in the django_qr_code.

Tested in python 3.6 with Django 2.0

Example of use in a template
----------------------------
```html
{% load django_qr_creator %}

```
Load this tags in you html template

```html
{% qr url='google.com' %}
```

For QR URL

```html
{% qr tel='+56948161822' %}
```

For QR Tel

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

For QR Mail

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

For QR Location

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

For QR SMS

Example in view
---------------

```bash
from django.shortcuts import render
from django_qr_creator import Image


def demo_image(request, param_data=1, extension='png'):
return Image.get_image(
str_data='http://my-site.com/{param_data}'.format(param_data=param_data),
box_size=40,
content_type=extension)
```

Metadata

Release files for django-qr-creator 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-qr-creator 0.1.5
File Size Uploaded Provenance
django_qr_creator-0.1.5.tar.gz 4.7 kB Without provenance Details

Release files / django_qr_creator-0.1.5.tar.gz

Download URL django_qr_creator-0.1.5.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8d70ad5c6072efaa58fd703a3ec2a99bdaeada1f5f7b08117ac5755c9ee007ab
BLAKE2b-256 checksum
How to use checksums
1bca4825ce8d947d1f2d6c1e9978307901740cc2142b119df2bf169213d8dea4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for django-qr-creator 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page