I have added feature flags in my django using package django-waffle. I defined a switch in django admin panel. The default Switch model provides all the necessary functionality.To list all the switches using manage.py, we use this command:
./manage.py waffle_switch -l
How to list all the switches in views.py?
Something like that should work for
switches
and for
feature flags
pretty similar: