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
Install django-coupons via pip: ` $ pip install django-coupons `
Add ‘coupons’ to INSTALLED_APPS in settings.py.
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.
single time (default), coupon can be used one time without being bound to an user.
user limited, coupon can be used one time but only by a specific user.
limit number, coupon can be used a limited number of times, by any user once.
users list, coupon can be used by a defined list of users, each once.
unlimited, coupon can be used unlimited times, but only once by the same user.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file django-promo-1.2.0a3.tar.gz
.
File metadata
- Download URL: django-promo-1.2.0a3.tar.gz
- Upload date:
- Size: 15.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 83f7d5f202f608a0b751a67b6ace16a6189a648f3af9b3dde0508f61dbd1de1c |
|
MD5 | 83884a77aa542d8abec75b4bb9483f49 |
|
BLAKE2b-256 | 1fba4ea7b8e9986888af7f8271e66a9503bbc9c3e5ec049cfc1471e1028da8ff |