Ticket #26729: 26729.diff
File 26729.diff, 664 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..10a102b 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.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)