Skip to main content

django-simple-coupons

A Django app that makes the use of coupons a simple task!

PyPI v0.5 MIT License Docs

django-simple-coupons is a simple Django app to create and use promotional coupons in your website.

Downloading

django-simple-coupons is available on The Python Package Index (PyPI). You can simply use pip to install it:

$ pip install django-simple-coupons

Installing

1 - Add django_simple_coupons inside INSTALLED_APPS in settings.py:

INSTALLED_APPS = [
        ...
        'django_simple_coupons',
]

2 - (Optional) If you want to use more than 12 chars (default) for your coupon code, add DSC_COUPON_CODE_LENGTH variable in settings.py:

DSC_COUPON_CODE_LENGTH = 16

3 - Run the migrations:

$ python manage.py makemigrations
$ python manage.py migrate

And that's it! django-simple-coupons should appear in your admin as Simple Coupons.

Changelog

https://github.com/Wolfterro/django-simple-coupons/blob/master/CHANGELOG.txt

Documentation

https://github.com/Wolfterro/django-simple-coupons/blob/master/docs/README.md

Metadata

Release files for django-simple-coupons 0.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-simple-coupons 0.5
File Size Uploaded Provenance Actions
django-simple-coupons-0.5.tar.gz 117.1 kB Without provenance Details for django-simple-coupons-0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for django-simple-coupons 0.5
File Interpreter ABI Platform Actions
django_simple_coupons-0.5-py3-none-any.whl Python 3 none any Details for django_simple_coupons-0.5-py3-none-any.whl

Total release size: 128.0 kB

Release files / django-simple-coupons-0.5.tar.gz

Download URL django-simple-coupons-0.5.tar.gz
Size 117.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e9a7b52b363b35f884a30550596b8e0dca7189a474b350e940a508f02a32f82a
BLAKE2b-256 checksum
How to use checksums
02a332eca0179df289c8b24d11cecb2723c23c4870d40342c9e93f9e069ad9ae
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Release files / django_simple_coupons-0.5-py3-none-any.whl

Download URL django_simple_coupons-0.5-py3-none-any.whl
Size 10.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9d4bb85448a7b817abeb351b5ffe8ebde8c45dbee0f302f8bc9d95507bd398e
BLAKE2b-256 checksum
How to use checksums
6c8560df3455587e87f78f135759a227c9a6501d0409cde427189095653c3a89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.6

Security for django-simple-coupons 0.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