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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for django-extra-referrals-0.0.1.tar.gz
Algorithm Hash digest
SHA256 e64daa7e9342dab3ddfc53548c9c3837df53a12c07c36051f6ed42dda685a0cd
MD5 2878dfd1cf2008a82f62d5f98dd95e76
BLAKE2b-256 0356b2da29f0e7a70f6f3581bff80260378f14618440fe9a5441c11469d9fc3d

See more details on using hashes here.

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

Hashes for django_extra_referrals-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6b2bae99f66d917efd40002b3f587720ecb4d5b0e91730dff4a37b87b854e6c8
MD5 e32bcc8208854e5377ba14069797611c
BLAKE2b-256 de1af6a5c89b18849262c1bab1f8b2df9f2a89d6ae07cdd7ba41b54ff0149685

See more details on using hashes here.

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