mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-06-29 07:43:32 +02:00
Remove WaffleSwitch, WaffleSample, and unit tests
This commit is contained in:
parent
271641d22c
commit
fcacc0d786
10 changed files with 10 additions and 334 deletions
|
@ -20,9 +20,6 @@ Follow these steps to achieve this:
|
|||
5. Rename the copied migration to match the increment. For instance, if `0091_create_waffle_flags_v01` exists, you will rename your migration to `0091_create_waffle_flags_v02`.
|
||||
6. Modify the migration dependency to match the last migration in the stack.
|
||||
|
||||
## Modifying an existing feature flag through the CLI
|
||||
Waffle comes with built in management commands that you can use to update records remotely. [Read here](https://waffle.readthedocs.io/en/stable/usage/cli.html) for information on how to use them.
|
||||
|
||||
## Using feature flags as boolean values
|
||||
Waffle [provides a boolean](https://waffle.readthedocs.io/en/stable/usage/views.html) called `flag_is_active` that you can use as you otherwise would a boolean. This boolean requires a request object and the flag name.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue