def get_content(self, name, context):

        try:
            signal = self._registry[name]
        except KeyError:
            message = ("There are no connected functions for the hook '%s'." %
                       name)
            warnings.warn(message, RuntimeWarning)
            return u''

        content = []
        signal.send(sender=self, context=context, content=content)

        return u'\n'.join(content)
Get the content of a template hook. Used internally by the hook
dataset/ETHPy150Open weluse/django-templatehooks/templatehooks/registry.py/HookRegistry.get_content