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.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f0587cf1e76d6d6c82be25ff11d6d68c0e79cd16a1f4f3d9c45888ccd53b19ec |
|
MD5 | 388fbc1329b8345558c40340009df8c3 |
|
BLAKE2b-256 | 5918e3035911b420c4418f8647ed0c967641e8cfd95f9ba17d3f2d7ed34d272c |
Hashes for django_simple_coupons-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 501f24780f8060e20c5456857de6351ea5bc41737583e2d0ea0f0c76d9ad1de5 |
|
MD5 | da43adce85c768ea0fdff42223a35b82 |
|
BLAKE2b-256 | f33bccda8e92bb2768c3f879076aac9854107e47598f926a9e82b2077c2d3029 |