def __unicode__(self):
if self.__cache_prefix is not None:<EOL><INDENT>value = cache.get(self.__cache_prefix)<EOL><DEDENT>else:<EOL><INDENT>value = None<EOL><DEDENT>if value is None:<EOL><INDENT>value = mark_safe(u'<STR_LIT:\n>'.join(unicode(getattr(self, f)) for f,e in self.__metadata._meta.elements.items() if e.head))<EOL>if self.__cache_prefix is not None:<EOL><INDENT>cache.set(self.__cache_prefix, value or '<STR_LIT>')<EOL><DEDENT><DEDENT>return value<EOL>
String version of this object is the html output of head elements.