Exemplo n.º 1
0
 def _more_template_vars(self):
     """
     Add template vars to the response dict
     List the attributes configured in the add_template_vars attribute
     and add them
     """
     result = BaseFormView._more_template_vars(self)
     result['title'] = self.title
     result['company'] = self.company
     result['tvas'] = self.tvas
     result['load_options_url'] = self.load_options_url
     result['load_catalog_url'] = self.load_catalog_url
     return result
Exemplo n.º 2
0
 def _more_template_vars(self):
     """
     Add template vars to the response dict
     List the attributes configured in the add_template_vars attribute
     and add them
     """
     result = BaseFormView._more_template_vars(self)
     result['title'] = self.title
     result['company'] = self.company
     result['tvas'] = self.tvas
     result['load_options_url'] = self.load_options_url
     result['load_catalog_url'] = self.load_catalog_url
     return result