Ticket #26729: 26729_v2.diff
File 26729_v2.diff, 668 bytes (added by , 8 years ago) |
---|
-
django/contrib/admin/helpers.py
diff --git a/django/contrib/admin/helpers.py b/django/contrib/admin/helpers.py index a9db82a..d5cf38e 100644
a b class InlineAdminFormSet(object): 279 279 'help_text': help_text_for_field(field_name, self.opts.model), 280 280 } 281 281 else: 282 form_field = self.formset. form.base_fields[field_name]282 form_field = self.formset.empty_form.fields[field_name] 283 283 label = form_field.label 284 284 if label is None: 285 285 label = label_for_field(field_name, self.opts.model, self.opts)