MCPcopy
hub / github.com/django/django / errors

Method errors

django/contrib/admin/helpers.py:160–167  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

158 yield AdminField(self.form, field, is_first=(i == 0))
159
160 def errors(self):
161 return mark_safe(
162 "\n".join(
163 self.form[f].errors.as_ul()
164 for f in self.fields
165 if f not in self.readonly_fields
166 ).strip("\n")
167 )
168
169
170class AdminField:

Callers

nothing calls this directly

Calls 3

mark_safeFunction · 0.90
joinMethod · 0.45
as_ulMethod · 0.45

Tested by

no test coverage detected