Skip to main content
Python Software Foundation 20th Year Anniversary Fundraiser  Donate today!

A simple Django app based on Feature Toggle described by Martin Fowler.

Project description

Feature Toggle is a simple Django app based on the behavioural pattern Feature Toggle proposed by Martin Fowler.

Quick start

  1. Install the package pip install django-feature-toggle

  2. Add “feature_toggle” to your INSTALLED_APPS setting like this:

  3. Run python migrate to create the models required feature_toggle.

  4. Start your app to use the feature_toggle.

Quick Setup

For people intrested in contributing:

  1. Make a virtual environment
  2. run python install or python3 install
  3. run pip install -r requirements.txt or pip3 install -r requirements.txt
  4. Make your changes and run tests by doing steps 5 and 6
  5. git checkout py2_django_app and run python test make sure you have python 2 in your environment
  6. git checkout py3_django_app and run python3 test make sure you have python 3 in your environment
  7. 5 and 6 will be mitigated in the near future by tox or by using travis.

Generating Docs

  1. cd to docs\
  2. run make custom-gh-pages
  3. The current state of docs is a mix of gh-pages and wiki
  4. Docs are generated using sphinx. Generates files read from index.rst to _build directory.
  5. make custom-gh-pages custom command copies _build to gh-pages directory and commits it which is used by github docs.

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-feature-toggle, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size django-feature-toggle-0.2.0.tar.gz (24.7 MB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page