Skip to main content

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


Download files

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

Source Distribution

django-extra-referrals-0.0.1.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

django_extra_referrals-0.0.1-py3-none-any.whl (9.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page