Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for django-tiers, version 0.0.20
Filename, size File type Python version Upload date Hashes
Filename, size django_tiers-0.0.20-py2-none-any.whl (10.9 kB) File type Wheel Python version py2 Upload date Hashes View hashes
Filename, size django_tiers-0.0.20-py3-none-any.whl (10.9 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size django-tiers-0.0.20.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page