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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | caf10524c440393438d7f803b89afa3ac2bb7ad98a3e7ea01a0fbd18cb048547 |
|
MD5 | 968caf03767709da15d5dbf0c249a539 |
|
BLAKE2b-256 | 5daf2be13c83955e08a869cb404fe0c3349f15f84be578cdecd34e752a7d0d0e |
Hashes for django_tiers-0.2.2-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d027b79da2bc9a566374317f022a2b156148d1d8f003804d095e505c6ff769c4 |
|
MD5 | a9bc73349b5ebefddce0bc17275f32ea |
|
BLAKE2b-256 | 92dfbc026c4482a1e563abd8e7b63e17c6b6f6d4f5d41a47fa3fe3fbccc73e1b |