Feature Toggle is a simple Django app based on the behavioural pattern Feature Toggle proposed by Martin Fowler.
Quick links
PyPi: https://pypi.org/project/django-feature-toggle/
Source: https://github.com/thulasi-ram/django-feature-toggle
Quick start
Install the package pip install django-feature-toggle
Add “feature_toggle” to your INSTALLED_APPS setting like this:
INSTALLED_APPS = [ ... 'feature_toggle', ]Run python manage.py migrate to create the models required feature_toggle.
Start your app to use the feature_toggle.
Quick Setup
For people intrested in contributing:
Make a virtual environment
run python setup.py install or python3 setup.py install
run pip install -r requirements.txt or pip3 install -r requirements.txt
Make your changes and run tests by doing steps 5 and 6
git checkout py2_django_app and run python manage.py test make sure you have python 2 in your environment
git checkout py3_django_app and run python3 manage.py test make sure you have python 3 in your environment
5 and 6 will be mitigated in the near future by tox or by using travis.
Generating Docs
cd to docs\
run make custom-gh-pages
The current state of docs is a mix of gh-pages and wiki
Docs are generated using sphinx. Generates files read from index.rst to _build directory.
make custom-gh-pages custom command copies _build to gh-pages directory and commits it which is used by github docs.
Metadata
Release files for django-feature-toggle 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django-feature-toggle-0.2.0.tar.gz | 24.7 MB | Details |
Release files / django-feature-toggle-0.2.0.tar.gz
| Download URL | django-feature-toggle-0.2.0.tar.gz |
|---|---|
| Size | 24.7 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
08a05f1d0cf1efc86a86b711c020becda0eb4886b8a7845d8d89d04e1ff36d0e
|
|
BLAKE2b-256 checksum How to use checksums |
0a7059de19eb64f6a89c7cebd41e0978b4c8e9a0fdfae1c3bdd9ccdaa4bef41a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |