Q:

Getting TypeError that my form object is not callable using django crispyforms

I'm using django-crispyforms for the first time.
When I try to add an object using the form that I've created for my model using django-crispyforms I get the following error:
TypeError: 'requestform' object is not callable
In particlar it has a problem with this line in my views.py:
new_request = formtoaddrequest(commit=False)
Any idea what this error message means?

A:

Well, it means you shouldn't be calling it. Why are you calling it? That seems a strange thing to do. Perhaps you mean formtoaddrequest.save(commit=False)?

