In the case creating a model, for example
class Student(models.Model)
name=models.charfield(),roll=models.integerfield()
similarly, In the case creating a form, class newform(forms.Form) name=forms.charfield(),roll=forms.integerfield()
similarly, In the case creating a serializer, class serial(serializers.Serializer) name=serializers.charfield(),roll=serializers.integerfield()
I understood that in each classes,a base class is inherited but i am confused that if different objects of different classes are created inside a class in each scenario then what is the meaning of inheriting models.model, forms.Form,serializers.Serializer what these inherited classes do?