Skip to content Skip to sidebar Skip to footer

Django Inlineformset - 'capform' Object Has No Attribute 'cleaned_data'

I am facing attribute error, 'CapForm' object has no attribute 'cleaned_data' This is my post method def post(self,request,*args,**kwargs): user = request.user.id

Solution 1:

You've called is_valid on SesForm, but not on CapFormSet.


Post a Comment for "Django Inlineformset - 'capform' Object Has No Attribute 'cleaned_data'"