Skip to main content

# 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

Release files for django-tiers 0.2.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-tiers 0.2.8
File Size Uploaded
django-tiers-0.2.8.tar.gz 9.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-tiers 0.2.8
File Interpreter ABI Platform
django_tiers-0.2.8-py3-none-any.whl Python 3 none any Details

Total release size: 24.2 kB

Release files / django-tiers-0.2.8.tar.gz

Download URL django-tiers-0.2.8.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
a39d4ad0b6606128181a0b5dd069dfe53af8505db33640f77e6252b7116ce514
BLAKE2b-256 checksum
How to use checksums
ddd2c08510d904257e5eca3f213c59b31f899ca10322e2ca671f5836b8078241
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release files / django_tiers-0.2.8-py3-none-any.whl

Download URL django_tiers-0.2.8-py3-none-any.whl
Size 14.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4f1d4179dcf9160e90c881060f781658348454cabefba0b0dfb48cd6418a3a4f
BLAKE2b-256 checksum
How to use checksums
cbabd36c981fb62fc0f8d5faf12b1bcea68dc0b22be47d6ca933d5b544e56737
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.14

Release history Release notifications | RSS feed

This release

0.2.8 This release

2 release files

0.2.7

2 release files

0.2.6

2 release files

0.2.5

2 release files

0.2.4

2 release files

0.2.3

3 release files

0.2.2

3 release files

0.2.1

3 release files

0.2.0

3 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page