def as_ul(self):
        if not self: return u''
        return mark_safe(u'<ul class="errorlist">%s</ul>'
                % ''.join([u'<li>%s%s</li>' % (k, force_unicode(v))
                    for k, v in self.items()]))
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.2/django/forms/util.py/ErrorDict.as_ul/original