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.

Source Distribution

django-tiers-0.2.8.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

django_tiers-0.2.8-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

Details for the file django-tiers-0.2.8.tar.gz.

File metadata

  • Download URL: django-tiers-0.2.8.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for django-tiers-0.2.8.tar.gz
Algorithm Hash digest
SHA256 a39d4ad0b6606128181a0b5dd069dfe53af8505db33640f77e6252b7116ce514
MD5 2836a0b7bf655ca080742106277b2564
BLAKE2b-256 ddd2c08510d904257e5eca3f213c59b31f899ca10322e2ca671f5836b8078241

See more details on using hashes here.

File details

Details for the file django_tiers-0.2.8-py3-none-any.whl.

File metadata

  • Download URL: django_tiers-0.2.8-py3-none-any.whl
  • Upload date:
  • Size: 14.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.14

File hashes

Hashes for django_tiers-0.2.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4f1d4179dcf9160e90c881060f781658348454cabefba0b0dfb48cd6418a3a4f
MD5 29f4d65e8b4dcc3112fa7e78dc7fdf5e
BLAKE2b-256 cbabd36c981fb62fc0f8d5faf12b1bcea68dc0b22be47d6ca933d5b544e56737

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page