misc: always define cell.ajax_refresh (#29152)

This commit is contained in:
Frédéric Péters 2018-12-17 23:30:49 +01:00
parent 17bd989e73
commit 30fe6dcfa6
1 changed files with 3 additions and 0 deletions

View File

@ -506,6 +506,9 @@ class CellBase(six.with_metaclass(CellMeta, models.Model)):
# Apply changes to the template context that must visible to all cells in the page
modify_global_context = None
# if set, automatically refresh cell every n seconds
ajax_refresh = None
class Meta:
abstract = True