Add waffleswitch and hook it to email

This commit is contained in:
zandercymatics 2024-05-24 10:08:36 -06:00
parent ef4e758517
commit 6ad2546a40
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
6 changed files with 100 additions and 4 deletions

View file

@ -329,10 +329,17 @@ SERVER_EMAIL = "root@get.gov"
# If Waffle encounters a reference to a flag that is not in the database, should Waffle create the flag?
WAFFLE_CREATE_MISSING_FLAGS = True
# If Waffle encounters a reference to a switch that is not in the database, should Waffle create the switch?
WAFFLE_CREATE_MISSING_SWITCHES = True
# The model that will be used to keep track of flags. Extends AbstractUserFlag.
# Used to replace the default flag class (for customization purposes).
WAFFLE_FLAG_MODEL = "registrar.WaffleFlag"
# The model that will be used to keep track of switches. Extends AbstractBaseSwitch.
# Used to replace the default switch class (for customization purposes).
WAFFLE_SWITCH_MODEL = "registrar.WaffleSwitch"
# endregion
# region: Headers-----------------------------------------------------------###