https://github.com/appsembler/django-tiers
Django Tiers app
https://github.com/appsembler/django-tiers
appsembler-tahoe openedx tahoe-customer-config tahoe-multitenancy
Last synced: 3 months ago
JSON representation
Django Tiers app
- Host: GitHub
- URL: https://github.com/appsembler/django-tiers
- Owner: appsembler
- License: mit
- Created: 2017-02-21T23:27:45.000Z (over 9 years ago)
- Default Branch: main
- Last Pushed: 2023-02-15T13:17:02.000Z (over 3 years ago)
- Last Synced: 2025-09-25T04:59:13.178Z (9 months ago)
- Topics: appsembler-tahoe, openedx, tahoe-customer-config, tahoe-multitenancy
- Language: Python
- Size: 111 KB
- Stars: 2
- Watchers: 13
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Django Tiers
[](https://travis-ci.org/appsembler/django-tiers)
[](https://codecov.io/gh/appsembler/django-tiers)
This should serve as a reusable django app for representing tiers. Currently it only implements the
"Trial" tier but it should be easily extendable.
## Install
Add `tiers` to `INSTALLED_APPS`.
Set `TIERS_EXPIRED_REDIRECT_URL` and `TIERS_ORGANIZATION_MODEL` in settings. Run `manage.py migrate`.
Add `tiers.middleware.TierMiddleware` to MIDDLEWARE in settings.py.
You might want to add it at the top.
## Testing
mkvirtualenv django-tiers
make install-dev
make install-test-deps
py.test