Ejemplo n.º 1
0
 def render(self):
     return mark_safe(u'\n'.join(chain(*[getattr(self, 'render_' + name)() \
     for name in MEDIA_TYPES])))