How to resolve AttributeError: 'ModelFormOptions' object has no attribute 'concrete_model' in Django
问题 I have been trying to post data in my Django application using ajax post. The data is getting saved but in the terminal I am coming up against the following error: AttributeError: 'ModelFormOptions' object has no attribute 'concrete_model' Here are the relevant codes intended to achieve my goal: Views.py: def saveMaterial(request): if request.is_ajax and request.method == "POST": form = CreateMaterialForm(request.POST) # It's a ModelForm mat_bom_list = CreateBomMatListFormset(request.POST,