Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

# django-fluo-coupons

A reuseable Django application for coupon gereration and handling
This is a customized fork of https://github.com/byteweaver/django-coupons.git


## Setup instructions

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

2. Add `'coupons'` to `INSTALLED_APPS` in `settings.py`.

3. Migrate database:

```
$ python3 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.

## Contributors
(alphabetical order)

* @akuryou
* @ikresoft
* @marshallds
* @noxan
* @TigerDX
* @TimFletcher

## Changelog

### V 1.2.0

* Drop support for Django < 1.8
* Drop pyhon2 support
* Can save generate codes in csv file

### V 1.1.0
* campaigns
Coupons may now be associated with campaigns for better tracking
* segmented coupon codes
Coupon codes may now be segmented like "xxxx-xxxx-xx"
New settings (defaults):
* COUPONS_SEGMENTED_CODES (False)
* COUPONS_SEGMENT_LENGTH (4)
* COUPONS_SEGMENT_SEPARATOR ("-")
* prefixes for coupon codes
Coupons may now be auto prefixed upon creation
* expiration date for coupons
Coupons can now expire, see valid_until field
* migrations for south and django 1.7+ included
* django 1.8 now officially supported
* minor fixes

### V 1.0.4
redeem_done signal

### V 1.0.3
Typo and CouponForm fix.

### V 1.0.2
Fixed Typo in settings.
* COUPNS_CODE_LENGTH -> COUPONS_CODE_LENGTH
* COUPNS_CODE_CHARS -> COUPONS_CODE_CHARS

*Check your settings after updating!*

### V 1.0.1
add django 1.7 migrations and south legacy migrations

### V 1.0.0
Supports:
* django 1.4 - 1.7
* python 2.7, 3.4


Metadata

Release files for django-fluo-coupons 1.2a12

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

Built distribution (wheel)

Table of built distributions (wheels) for django-fluo-coupons 1.2a12
File Interpreter ABI Platform
django_fluo_coupons-1.2a12-py3-none-any.whl Python 3 none any Details

Release files / django_fluo_coupons-1.2a12-py3-none-any.whl

Download URL django_fluo_coupons-1.2a12-py3-none-any.whl
Size 38.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1bb26e2fed138ba4df827cf67bfee6dc7531712474399bf251aec3ae5554a06c
BLAKE2b-256 checksum
How to use checksums
4bc8af524fc2bf0fb21811bc75507bef4baf7866d04641fc2ee39556815f2f72
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.2a12 This release

1 release file

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