Skip to main content

A reuseable Django application for coupon gereration and handling.

Project description

#django-coupons

![build status](https://travis-ci.org/byteweaver/django-coupons.png)

A reuseable Django application for coupon gereration and handling

## Setup instructions

  1. Install django-coupons via pip: ` $ pip install django-coupons `

  2. Add ‘coupons’ to INSTALLED_APPS in settings.py.

  3. Migrate database:

    ` $ python manage.py migrate `

## Supported use cases of coupons

This application supports different kind of coupons in the way how they can be redeemed. The difference is defined by the number of possible redeems and if they are bound to a specific user (may even be a list of users) or not.

  1. single time (default), coupon can be used one time without being bound to an user.

  2. user limited, coupon can be used one time but only by a specific user.

  3. limit number, coupon can be used a limited number of times, by any user once.

  4. users list, coupon can be used by a defined list of users, each once.

  5. unlimited, coupon can be used unlimited times, but only once by the same user.

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-promo-1.2.0a3.tar.gz (15.7 kB view details)

Uploaded Source

File details

Details for the file django-promo-1.2.0a3.tar.gz.

File metadata

File hashes

Hashes for django-promo-1.2.0a3.tar.gz
Algorithm Hash digest
SHA256 83f7d5f202f608a0b751a67b6ace16a6189a648f3af9b3dde0508f61dbd1de1c
MD5 83884a77aa542d8abec75b4bb9483f49
BLAKE2b-256 1fba4ea7b8e9986888af7f8271e66a9503bbc9c3e5ec049cfc1471e1028da8ff

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page