wcs: only load data in context if it's not set (#13006)

This commit is contained in:
Frédéric Péters 2016-08-31 18:56:28 +02:00
parent e7e5da510d
commit 86e2b10aa4
1 changed files with 2 additions and 1 deletions

View File

@ -200,7 +200,8 @@ class WcsDataBaseCell(CellBase, WcsBlurpMixin):
widgets=self.get_form_widgets())
def render(self, context):
context[self.variable_name] = self.get_data(context)
if not self.variable_name in context:
context[self.variable_name] = self.get_data(context)
return super(WcsDataBaseCell, self).render(context)