A simple application that allows you to generate referral links and track referrals
Project description
A simple application that allows you to generate referral links and track referrals
Documentation
The full documentation is at https://django-simple-referrals.readthedocs.io.
Quickstart
Install referrals:
pip install django-simple-referrals
Add it to your INSTALLED_APPS:
INSTALLED_APPS = (
...
'referrals',
...
)
Add referrals’s URL patterns:
from referrals import urls as referrals_urls
urlpatterns = [
...
url(r'^referrals/', include('referrals_urls', namespace='referrals')),
...
]
Add to your settings file:
DJANGO_REFERRALS_DEFAULT_INPUT_VALUE = 'TEST' # The token to be used by default
DJANGO_REFERRALS_FORM_URL = 'http://localhost:8000/accounts/signup/' # The signup form URL
Features
TODO
Running Tests
Does the code actually work?
source <YOURVIRTUALENV>/bin/activate (myenv) $ pip install tox (myenv) $ tox
Credits
Tools used in rendering this package:
History
0.1.0 (2018-04-13)
First release on PyPI.
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
Close
Hashes for django-simple-referrals-0.1.31.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9b3dd856406d49165f8272fc999614b256e885c3767856a45838ebbc32445525 |
|
MD5 | 8436d50e4c9634ea4ee938ed3d3da0bf |
|
BLAKE2b-256 | 67a8e25feb5e54f0540d79c581c7dafe52b6e2254cb2b37702640b9fdcb85ee3 |