Django referral with multilevel fee system
Project description
Django Extra Referrals
Simpel referrals app for Django with simple multilevel fee system
Installation
$ pip install django-extra-referrals
or
$ pip install git+https://github.com/sasriawesome/django_extra_referrals.git#egg=django-extra-referrals
Settings
REFERRAL_MODEL = 'django_referrals.Referral'
REFERRAL_COOKIE_KEY = 'ref_id'
REFERRAL_PARAM_KEY = 'ref_id
REFERRAL_MAX_DAY = 7 * 24 * 60 * 60 # a week
REFERRAL_SCHEMA = 'FLAT'
REFERRAL_FLAT_CAMPAIGN_RATE = 4
REFERRAL_FLAT_UPLINES_RATE = [5, 2, 1]
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-extra-referrals-0.0.1.tar.gz.
File metadata
- Download URL: django-extra-referrals-0.0.1.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e64daa7e9342dab3ddfc53548c9c3837df53a12c07c36051f6ed42dda685a0cd
|
|
| MD5 |
2878dfd1cf2008a82f62d5f98dd95e76
|
|
| BLAKE2b-256 |
0356b2da29f0e7a70f6f3581bff80260378f14618440fe9a5441c11469d9fc3d
|
File details
Details for the file django_extra_referrals-0.0.1-py3-none-any.whl.
File metadata
- Download URL: django_extra_referrals-0.0.1-py3-none-any.whl
- Upload date:
- Size: 9.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6b2bae99f66d917efd40002b3f587720ecb4d5b0e91730dff4a37b87b854e6c8
|
|
| MD5 |
e32bcc8208854e5377ba14069797611c
|
|
| BLAKE2b-256 |
de1af6a5c89b18849262c1bab1f8b2df9f2a89d6ae07cdd7ba41b54ff0149685
|