Django tier management
Project description
# Django Tiers
[![Build Status](https://travis-ci.org/appsembler/djanogo-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 Distribution
Hashes for django_tiers-0.0.19-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a96a1bc00021fd09fbf5bbc4870f83eaa15645732b7b7b3a5d6ea7fc06e04b2 |
|
MD5 | d8cb63fd35cbddf745487b43646522db |
|
BLAKE2b-256 | 1c913d3d1fc324b50b5467a826e07b098dde1cc106ff6f453e4a79b0d160e47a |