Reusable backend to accept & track donations to your site
Project description
Django Donations
TODO
Update the documentation and readme
integrate with readthedocs or pythonhosted or both!
tests - unit/integration
task to periodically verify pending donations
(* dashboard - track/view donations from the business side - kpis etc * views/urls? - provide an api hook into the system (/donations - dashboard))
v2 and beyond
(other providers (paypal etc))
tasks.py - recurring donation handling - this is not possible right now as SDI is not an API to be automated
Usage
Example app is under ./example/app. Basically subclass DonateView or POST to DonateAPI with the correct data…. (example needed) When using DonateView, there is the DonationForm which can be subclassed to customize or just used by itself.
Settings
Supported Providers
Just Giving SDI
Basic Commands - Update to be correct
Test coverage
To run the tests, check your test coverage, and generate an HTML coverage report:
$ coverage run manage.py test $ coverage html $ open htmlcov/index.html
Running end to end integration tests
N.B. The integration tests will not run on Windows.
To install the test runner:
$ pip install hitch
To run the tests, enter the django-donations/tests directory and run the following commands:
$ hitch init
Then run the stub test:
$ hitch test stub.test
This will download and compile python, postgres and redis and install all python requirements so the first time it runs it may take a while.
Subsequent test runs will be much quicker.
The testing framework runs Django, Celery (if enabled), Postgres, HitchSMTP (a mock SMTP server), Firefox/Selenium and Redis.*/
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 Distributions
File details
Details for the file django-donations-0.2.3.tar.gz
.
File metadata
- Download URL: django-donations-0.2.3.tar.gz
- Upload date:
- Size: 11.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f5023b1bf09fd7f893e4a888bc35804d9438a86f74bcf1a5d8116bae213e200 |
|
MD5 | 9c0e296e74051d8cb110c26cd8ebdded |
|
BLAKE2b-256 | 1368d4262b68e5728c60f356864c6fc1c870dccc065929516962b1f187df4de4 |
File details
Details for the file django_donations-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: django_donations-0.2.3-py3-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 007103271ab60ad45b9618d4c7c857b961cdd9c46b6332c68cbe9ceacd921bf7 |
|
MD5 | d7e1ad347cff53b3b1841a3b446b9509 |
|
BLAKE2b-256 | 9f220e70d3c8f96e089b815e6507fa39bb07ec6670f57a5e362572cf37589444 |
File details
Details for the file django_donations-0.2.3-py2-none-any.whl
.
File metadata
- Download URL: django_donations-0.2.3-py2-none-any.whl
- Upload date:
- Size: 15.4 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ab3b565f0ec914ccb04fb2a1718d5ee2a8a643ff3b809afb8739a2c0b105f6d |
|
MD5 | 05772706419de3fffe594934530034e6 |
|
BLAKE2b-256 | ba2b3288b885a7c824813372903f9e786b72fa7788d7deb7e08bb6bfeb4f5fcc |