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.2.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d5b84549d1b6528997eb6a98ee9a724f523192294a9b1f711094abf2a4bffdc5 |
|
MD5 | 19cfadfe13eef99bbf4c520b807a05a6 |
|
BLAKE2b-256 | c959e65d7a69d070cde0bd05e7305aeaea9b6895d41bcecd7333e6cd15583d6b |
Hashes for django_tiers-0.2.1-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd087ab59e61d5c9c4eeb34964f7dd8d5800b9778cdfd3e1fab0dd8164eda4cf |
|
MD5 | e91cbc79262d6d77af29c61a61587186 |
|
BLAKE2b-256 | 8a02cd9eb39376d1747f8fd8b7dbbc1af17e15875b7bc7534fc6b391672e1671 |