1
0
mirror of https://github.com/django/django.git synced 2025-10-24 06:06:09 +00:00

Fixed #24976 -- Fixed missing form label in tabular inline.

If the model form had a form field specified, the label rendered
as "None".
This commit is contained in:
matiasb
2015-10-06 21:01:39 -02:00
committed by Tim Graham
parent bab9c09342
commit 12aeed8c94
3 changed files with 19 additions and 1 deletions

View File

@@ -72,6 +72,7 @@ class InnerInline3(admin.StackedInline):
class TitleForm(forms.ModelForm):
title1 = forms.CharField(max_length=100)
def clean(self):
cleaned_data = self.cleaned_data