dispatch/theme/widgets.py
def prepare_data(self):
        """Prepare widget data for template."""
        result = {}

        for field in self.fields:
            data = self.data.get(field.name)
            result[field.name] = field.prepare_data(data)

        return result
def prepare_data(self):
        result = {}

        for field in self.fields:
            data = self.data.get(field.name)
            result[field.name] = field.prepare_data(data)

        return result
def prepare_data ( self ) : result = { } for field in self . fields : data = self . data . get ( field . name ) result [ field . name ] = field . prepare_data ( data ) return result
Prepare widget data for template.
Prepare widget data for template .