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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user