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.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b59cc4050e9d67bff656cb99af4c52c748a3433cc85d816b15a494832da56e81 |
|
MD5 | e6fa620c1670e98cd8fce472460ee7f8 |
|
BLAKE2b-256 | 1eb1c281bd417f55e1de1235f7173825d88a02dc82f4146c4a0c646d59fa06ed |
Hashes for django_tiers-0.2.0-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 04cd1d0dee448eceb0ff3119d4cee918aae983bfcb0df19f4490f8b80979c310 |
|
MD5 | 785d739d6a63bc597e124f642ec95afe |
|
BLAKE2b-256 | d6fa98a4f43de98a32232e273ec937f10e4fd18de0850041958271a1ca910896 |