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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4355791678880e5c2e09b1481584f1d181d72980901427c9adbfec08d694ca8b |
|
MD5 | 7230b979c95421764ecbe32b42f0d166 |
|
BLAKE2b-256 | 9e3db2b0b6ec1f3c0e2ae6fe7d8b20f912cbd16bbae78e47626e336acc58c7ca |
Hashes for django_tiers-0.2.3-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 998bf4517b6f7de19a50e7754e9b816d8dfc49faf7f6cec725073ecf10fe34bf |
|
MD5 | ba5409e748813e0296f0ea3933d61f6a |
|
BLAKE2b-256 | 4524b01cab0de603d138db3f6f5051c2081d56fed96795bdc2467fe8e715516c |