wcs: mark various cells as depending on user (#40042)

This commit is contained in:
Frédéric Péters 2020-02-19 21:13:00 +01:00
parent 038ab5d4a1
commit d482ba7e12
1 changed files with 3 additions and 0 deletions

View File

@ -294,6 +294,7 @@ class WcsDataBaseCell(CellBase, WcsBlurpMixin):
class WcsUserDataBaseCell(WcsDataBaseCell):
warn_on_404 = False
user_dependant = True
class Meta:
abstract = True
@ -549,6 +550,7 @@ class WcsCareFormsCell(WcsDataBaseCell):
variable_name = 'care_forms'
template_name = 'combo/wcs/care_forms.html'
cache_duration = 600
user_dependant = True
class Meta:
verbose_name = _('Forms to process')
@ -596,6 +598,7 @@ class BackofficeSubmissionCell(WcsDataBaseCell):
variable_name = 'all_formdefs'
template_name = 'combo/wcs/backoffice_submission.html'
cache_duration = 600
user_dependant = True
class Meta:
verbose_name = _('Backoffice Submission')