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.7+
- 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
File details
Details for the file django-flags-5.0.13.tar.gz
.
File metadata
- Download URL: django-flags-5.0.13.tar.gz
- Upload date:
- Size: 27.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ff6940cf37e07d6d0c4ac28c5420c8cfc478b62541473dba4aa02d600f7db9fc |
|
MD5 | b88c2dc6fb290a6cbe63208cbb7efba9 |
|
BLAKE2b-256 | c8c9b0ccc68bcdd4b618c06010bf969802ab3bdd6b4663938f945afda0852789 |
File details
Details for the file django_flags-5.0.13-py2.py3-none-any.whl
.
File metadata
- Download URL: django_flags-5.0.13-py2.py3-none-any.whl
- Upload date:
- Size: 42.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52df74b86d93f5cb402190ad26b68a5ba0f127e9e016189f1a6f2e8ba3c06a42 |
|
MD5 | b9813b13b88b43907a323d6b361b21f2 |
|
BLAKE2b-256 | 2d057715921dc6599eb2f40f68b85975ae6567e4325b949e29701eb380d9d37f |