add API setting for UI live updates

include context data

update help text
This commit is contained in:
AlanCoding
2018-03-23 13:36:01 -04:00
committed by Jared Tabor
parent 61aafe15d6
commit f6e507ad12
4 changed files with 17 additions and 0 deletions

View File

@@ -63,3 +63,13 @@ register(
category=_('UI'),
category_slug='ui',
)
register(
'UI_LIVE_UPDATES_ENABLED',
field_class=fields.BooleanField,
label=_('Enable Live Updates in the UI'),
help_text=_('If disabled, the page will not refresh when events are received. '
'Reloading the page will be required to get the latest details.'),
category=_('UI'),
category_slug='ui',
)