Django tier management
Project description
# Django Tiers
[![Build Status](https://travis-ci.org/appsembler/django-tiers.svg?branch=master)](https://travis-ci.org/appsembler/django-tiers) [![codecov](https://codecov.io/gh/appsembler/django-tiers/branch/master/graph/badge.svg)](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
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
Hashes for django_tiers-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33cc7f8770412f51df78934a8613a92ce6a3127b582f630a521827ada1a7a01e |
|
MD5 | a15bfb91d58970181334d99414bc9f68 |
|
BLAKE2b-256 | 4aeb39decbbdef033585c832a18a7621aebe712b66093bcf6ed39f0d16ba8ec6 |
Hashes for django_tiers-0.1.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a67af895d0b118d682343e0fce7d62ab67cb047df7a85d44906047a0dc424ff8 |
|
MD5 | 5ea31f88f98a71d4c515ef5af15089de |
|
BLAKE2b-256 | 9cd156512d51e688d502a08c9f46276044a0198e9f78979740bca79fe87d8f02 |