//i have a modelform
class Parrent(forms.ModelForm):
someTest = forms.CharField(max_length=20)
// i have a child form
class Child(Parrent):
someTestChild = forms.CharField(max_length=20)
// i want a listview for the child form, this is my url.py
path('Testing/',
views.Child.as_view(),name="child"),
//but i get an error saying that this class has no .as_view possibility.
Is it possible to create an list and detailview on the child form.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…