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!
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.
Source Distribution
Built Distribution
Hashes for django-simple-coupons-0.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e9a7b52b363b35f884a30550596b8e0dca7189a474b350e940a508f02a32f82a |
|
MD5 | f68c35115682f3300eaf09e7e3e84308 |
|
BLAKE2b-256 | 02a332eca0179df289c8b24d11cecb2723c23c4870d40342c9e93f9e069ad9ae |
Hashes for django_simple_coupons-0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f9d4bb85448a7b817abeb351b5ffe8ebde8c45dbee0f302f8bc9d95507bd398e |
|
MD5 | 7ca85f0c17ad4dd2525c2eb08814c5a7 |
|
BLAKE2b-256 | 6c8560df3455587e87f78f135759a227c9a6501d0409cde427189095653c3a89 |