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.0.20-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2be289fa7871a4b7b5324568a7ce2a97d23cc5c305c42958d63f85f093674c48 |
|
MD5 | 31ddd63f3c0206940a42637005a8f832 |
|
BLAKE2b-256 | ce4be31a4842309c962d6add388784241352472a675b4720630410722f1204b6 |
Hashes for django_tiers-0.0.20-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff7b96371f6d194955fe12f4016c43650c34531b4a739f77daeab99afbfac693 |
|
MD5 | 6a355f45b7bfafa882ab4f08d005871f |
|
BLAKE2b-256 | 6e22a5e7fd8e3dccf6fa5fd8d8ae797ce509165b4fd46283e6bed3be47fce2b0 |