1π
β
It looks like you have replaced VolInterview
with a different class in your views.
To check, you can add print(VolInterview)
to your view and the shell, and check that you get the same result in both.
In Django, it is common to use Form
as a suffix for your form classes, e.g. VolInterviewForm
, so that the model and form names do not clash.
π€Alasdair
Source:stackexchange.com