Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-simple-coupons, version 0.5
Filename, size File type Python version Upload date Hashes
Filename, size django_simple_coupons-0.5-py3-none-any.whl (10.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size django-simple-coupons-0.5.tar.gz (117.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page