Ticket #16433: django-16433.patch
File django-16433.patch, 498 bytes (added by , 13 years ago) |
---|
-
django/contrib/admin/util.py
304 304 def help_text_for_field(name, model): 305 305 try: 306 306 help_text = model._meta.get_field_by_name(name)[0].help_text 307 except models.FieldDoesNotExist:307 except (models.FieldDoesNotExist, AttributeError): 308 308 help_text = "" 309 309 return smart_unicode(help_text) 310 310