Closed jscott1989 closed 8 years ago
e.g. for the "Max Tickets per person" option - we should be able to have a checkbox to disable it.
this is common enough to have a pattern built into happening.
This is now possible by using can_be_disabled = True on the configuration variable.
and then use .is_enabled() instead of .get() to check that the variable is enabled before using it.
e.g. for the "Max Tickets per person" option - we should be able to have a checkbox to disable it.
this is common enough to have a pattern built into happening.