This Django library provides a comprehensive solution for managing subscriptions, feature access and wallet functionality
Project description
About
This Django library provides a comprehensive solution for managing subscriptions, feature access and wallet functionality
Features
Associates features with subscription plans and define limits
Manage a user wallet for managing subscription payments, refunds and credits
Records all wallet transactions including subscription payments, cancellation and refunds
Capture details for a subscription plan
Define cost and frequency of billing for a plan
Associates user’s to specific subscriptions
Define feature that can be included in subscription plans
Define pricing tiers for features with tiered pricing
Tracks usage of features by subscribed users
Installation
Install package
pip install django-enhanced-subcriptions
Add “django-enhanced-subcriptions” to your INSTALLED_APPS setting:
INSTALLED_APPS = [ ... 'subcription', ]
Run migrations:
python manage.py migrate
Override the below config in settings.py
SUBSCRIPTION = { "CACHE_TIMEOUT_SECONDS": 60, "BASE_RETRY_DELAY_SECONDS": 300, "FIXED_INTERVAL_DELAY": 3600, "MAX_RETRY_ATTEMPTS": 3, "CACHE_TIMEOUT_MINUTES": 5, "GRACE_PERIOD_DAYS": 1, "ENABLE_ADMIN": True, }
Documentation
https://django-enhanced-subscriptions.readthedocs.io/en/latest/index.html
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
File details
Details for the file django_enhanced_subscriptions-1.0.1.tar.gz
.
File metadata
- Download URL: django_enhanced_subscriptions-1.0.1.tar.gz
- Upload date:
- Size: 20.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d76d769a2f082d0d477ba3eb3c1a56d1895dea66c97a0c38d4f3c3f1e3191c56 |
|
MD5 | 74c33bda8144d0a0259f072e0e06e756 |
|
BLAKE2b-256 | f9b880122f07790ce5cac6400f5f5dd0b227e73bd1c5558e626550ae6f6422f6 |
File details
Details for the file django_enhanced_subscriptions-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: django_enhanced_subscriptions-1.0.1-py3-none-any.whl
- Upload date:
- Size: 26.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e87e28dd2a523f3f62d51841f9ca68f717eff63a385c620439618c78648f1c5f |
|
MD5 | 7a5223838093e3065f352a09695a6ab6 |
|
BLAKE2b-256 | 14d1362348ce22abd8030b09d218aa496e8a7b91d514a4a9ec944a7b25fc0259 |