django-flags
django-flags copied to clipboard
Feature flags for Django projects
My CI always starts with a fresh database. This user condition gave me the desired behaviour, and worked when adding the Django flags app and migrating from an existing database:...
We are considering the use of Gitlab feature flag feature, which is based on https://www.getunleash.io/ But I would like to use Django-flags to maintain a clean and future-proof code. Has...
Hi, Our django app uses django-tenant-schemas, thus we need to use migrate_schemas instead of migrate. I followed your user guide except for the migrate step, and always got the error...
Right now it's not easily possible to combine conditions using and/or logic, for example, enabling a flag _if A and B but not (C or D)_. This is possible using...
It would be useful to be able to write code like this: ```py with override_flag(MY_FLAG=True): # do some code that checks the value of MY_FLAG ``` The tests tend to...
Flags that are declared in Django settings don't show up in the admin because of a Catch-22: The admin only shows database entries, and db entries are only created by...
**Suggestion**: A way for Django Admin users to view tooltips/help text about the purpose of a flag **How**: Use the Django model instance property `help_text` https://docs.djangoproject.com/en/3.0/ref/models/fields/#help-text **Proposed Usage**: Specify in...
Document how flags can be toggled in tests https://github.com/cfpb/django-flags/issues/121
I'm adding this dep into an existing repo, where type checking is done. The type checker demands a type hint for `FLAGS` in settings.py. I've plugged `FLAGS: dict[str, list] =...
For example, I'd like to test 2 code paths, with flag on and off. In my case the flag is only sourced from the database (not url params). I imagine...