Feature flags for Django projects
Project description
Django-Flags
Feature flags allow you to toggle functionality in both Django code and the Django templates based on configurable conditions. Flags can be useful for staging feature deployments, for A/B testing, or for any time you need an on/off switch for blocks of code. The toggle can be by date, user, URL value, or a number of other conditions, editable in the admin or in definable in settings.
- Dependencies
- Installation
- Documentation
- Getting help
- Getting involved
- Licensing
- Credits and references
Dependencies
- Python 3.6+
- Django 2.2-4.0
Installation
- Install Django-Flags:
pip install django-flags
- Add
flags
as an installed app in your Djangosettings.py
:
INSTALLED_APPS = (
...
'flags',
...
)
Documentation
https://cfpb.github.io/django-flags is the full documentation for Django-Flags, and includes how to get started, general usage, and an API reference.
Getting help
Please add issues to the issue tracker.
Getting involved
General instructions on how to contribute can be found in CONTRIBUTING.
Licensing
Credits and references
Django-Flags was forked from Wagtail-Flags, which was itself forked from cfgov-refresh.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django_flags-5.0.8-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 440b48263b352a4bd813785cb31a04d650e3c71905e34e8973eba823c0f96db0 |
|
MD5 | 8bbc922e698a23a4adce6d86778c0373 |
|
BLAKE2b-256 | e52e655d1b8bc838cd9abddcbc1cf528eb22108a27a368c58b08fd0db3721457 |